package
Version:
v1.10.3
Opens a new window with list of versions in this module.
Published: Apr 18, 2024
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.