package
Version:
v0.0.0-...-581f9f3
Opens a new window with list of versions in this module.
Published: May 6, 2020
License: Apache-2.0
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 {
Set(key, value interface{}) error
SetWithExpire(key, value interface{}, expiration time.Duration) error
Get(key interface{}) (interface{}, error)
Remove(key interface{}) bool
}
func (l LRU) Get(key interface{}) (interface{}, error)
func (l LRU) Remove(key interface{}) bool
func (l LRU) Set(key, value interface{}) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.