Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
This section is empty.
Types ¶
type Deleter ¶
type Deleter interface {
Delete(key interface{}) error
}
Deleter wraps a method to delete from cache.
type Getter ¶
type Getter interface {
Get(key interface{}) (interface{}, error)
}
Getter wraps a method to read from cache.
func MultiGetter ¶
MultiGetter combines a lit of getters into a single getter.
Click to show internal directories.
Click to hide internal directories.