package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: Dec 8, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Cache interface {
SetVerbose(verbose bool)
GetWeight() int
GetBudget() int
Insert(key string, value interface{}, weight int) error
Retrieve(key string) (interface{}, bool)
Clear()
}
Cache stores arbitrary data for fast retrieval
type Cacher interface {
ClearCache()
GetCache() Cache
}
Cacher is something that has a cache
Source Files
¶
Click to show internal directories.
Click to hide internal directories.