package
Version:
v0.0.0-...-ff5ca92
Opens a new window with list of versions in this module.
Published: Aug 19, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewKey creates new sha256-encoded byte key for the Cache
Cache is a thread-safe wrapper around groupcache's LRU cache implementation
It holds positive int64 values with []byte keys
New creates new instance of Cache
Add adds the value to Cache
Get acquires value from Cache
Len returns the current Cache length
Remove removes the value from Cache
Source Files
¶
Click to show internal directories.
Click to hide internal directories.