Update README.md
This commit is contained in:
parent
835343d6a5
commit
b6ab124d83
4
registry/cache/README.md
vendored
4
registry/cache/README.md
vendored
@ -6,7 +6,7 @@ If you're looking for caching in your microservices use the [selector](https://m
|
|||||||
|
|
||||||
## Interface
|
## Interface
|
||||||
|
|
||||||
```
|
```go
|
||||||
// Cache is the registry cache interface
|
// Cache is the registry cache interface
|
||||||
type Cache interface {
|
type Cache interface {
|
||||||
// embed the registry interface
|
// embed the registry interface
|
||||||
@ -18,7 +18,7 @@ type Cache interface {
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```go
|
||||||
import (
|
import (
|
||||||
"github.com/micro/go-micro/registry"
|
"github.com/micro/go-micro/registry"
|
||||||
"github.com/micro/go-micro/registry/cache"
|
"github.com/micro/go-micro/registry/cache"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user