The highest tagged major version is
v8.
package
Version:
v7.0.0-rc1+incompatible
Opens a new window with list of versions in this module.
Published: Jul 20, 2022
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: 11
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.