package
Version:
v0.0.0-...-868bdbc
Opens a new window with list of versions in this module.
Published: Sep 8, 2020
License: AGPL-3.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
¶
Cache is a simple concurrent-safe cache with a least-recently-used (LRU)
eviction policy.
NewCache instantiates a new concurrent-safe LRU cache.
Get returns a cached value for a key, and initializes it otherwise should it not exist.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.