Documentation ¶
Overview ¶
Package cache contains provider's cache instance
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDisabled is returned when Get or Set is called on a disabled cache ErrDisabled = errors.New("cache disabled") // ErrEntryNotFound is returned when object under the given key does not exist ErrEntryNotFound = errors.New("cache entry not found") )
Functions ¶
Types ¶
type Bucket ¶
type Bucket interface {
Name() string
}
Bucket defines a contract for a bucket used to form a key
type BucketName ¶
type BucketName string
BucketName can be used as a bucket argument to Set and Get functions
Click to show internal directories.
Click to hide internal directories.