package
Version:
v0.9.7
Opens a new window with list of versions in this module.
Published: Jul 7, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Cache interface {
Get(key interface{}) (interface{}, bool)
Set(key, value interface{}, cost int64) bool
Wait()
Close()
}
Cache - Defines an interface for a generic cache.
func NewNoopCache() Cache
Engine - Engine type for cache
const (
RISTRETTO Engine = "ristretto"
)
String - String converter
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.