Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaqiuxy committed Jun 6, 2021
1 parent b20322b commit 2add68b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ it is trivial to extend wfcache by implementing the following adapter interface:

```go
type Storage interface {
Get(ctx context.Context, key string) *Metadata
BatchGet(ctx context.Context, keys []string) []*Metadata
Get(ctx context.Context, key string) *CacheItem
BatchGet(ctx context.Context, keys []string) []*CacheItem
Set(ctx context.Context, key string, value []byte) error
BatchSet(ctx context.Context, pairs map[string][]byte) error
Del(ctx context.Context, key string) error
Expand Down

0 comments on commit 2add68b

Please sign in to comment.