Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBucketNotExist = errors.New("bucket not exist")
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
Get(k []byte) (v []byte, err error)
Put(k, v []byte) error
Delete(k ...[]byte) error
Close() error
Range(f func(key []byte, value []byte) bool) error
}
func NewMockCache ¶ added in v0.3.7
func NewMockCache() Cache
type RecursionCache ¶ added in v0.3.8
type RecursionCache interface {
Cache
NewCache(str string) RecursionCache
}
Click to show internal directories.
Click to hide internal directories.