package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Sep 11, 2021
License: Unlicense
Opens a new window with license information.
Imports: 2
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 int64) (value interface{}, exists bool)
Remove(key int64)
Add(key int64, value interface{})
}
New returns a new cache instance
which MUST be safe for concurrent use
Source Files
¶
Click to show internal directories.
Click to hide internal directories.