Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultCleanupInterval = 5 * time.Minute
)
Variables ¶
View Source
var ( ErrClosed error = &cacheError{msg: "cache closed"} ErrNotFound error = &cacheError{msg: "cache not found"} ErrInvalidElement error = &cacheError{msg: "invalid cache element"} ErrExpired error = &cacheError{msg: "cache expired"} )
Functions ¶
func NewErrorWith ¶
func NewMemoryCache ¶
func NewMemoryCache(cfg *storagev1.Memory) storageiface.Cache
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.