package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jun 24, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Cache cache
func (lc *Cache) Get(key int) interface{}
Get get by key
func (lc *Cache) Put(key int, value interface{})
Put put value into cache
type Node struct {
Key int
Value interface{}
Prev *Node
Next *Node
}
Node node
Source Files
¶
Click to show internal directories.
Click to hide internal directories.