package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Feb 10, 2023
License: MIT
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
¶
LruCache defines the structure of least recently used cache.
NewLRUCache creates a new LRU cache.
Get gets the value by a key.
Set add a key-value pair to cache, the value will updated it the key already exists.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.