The highest tagged major version is
v3.
package
Version:
v3.0.10+incompatible
Opens a new window with list of versions in this module.
Published: Apr 22, 2019
License: LGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type Cache interface {
Get(key []byte) interface{}
Put(key []byte, value interface{})
All(prefix []byte) []interface{}
Fork() interface{}
Free()
}
Cache is the cache interface
NewCache returns the specify type cache
CacheType is the cache type
const (
TrieCache CacheType
MapCache
)
The cache type constant
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.