Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
Get(k []byte) (v []byte)
Put(k, v []byte)
Delete(k ...[]byte)
Close() error
Range(f func(key []byte, value []byte) bool)
}
func NewMockCache ¶ added in v0.3.7
func NewMockCache() Cache
Click to show internal directories.
Click to hide internal directories.