package
Version:
v6.0.2+incompatible
Opens a new window with list of versions in this module.
Published: Dec 22, 2021
License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more
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
¶
Add adds the key to the LRU, with the given size. Returns the size of the the old size, or 0 if no key existed.
Keys returns a string array of the keys
RemoveOldest returns the key, size, and true if the LRU is nonempty; else false.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.