Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("key not found") ErrMaxItems = errors.New("max items reached") )
Functions ¶
This section is empty.
Types ¶
type BucketOptions ¶
type TCache ¶
type TCache interface { Bucket(string) Bucket BucketWithOpts(string, BucketOptions) Bucket Clear() }
func NewWithOpts ¶
func NewWithOpts(opts CacheOptions) TCache
Click to show internal directories.
Click to hide internal directories.