The highest tagged major version is
v2.
package
Version:
v1.2.2
Opens a new window with list of versions in this module.
Published: Feb 24, 2022
License: LGPL-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
¶
LRU - Least Recently Used cache
func (c *LRU) Get(key interface{}) interface{}
Get an item from cache
func (c *LRU) Has(key interface{}) bool
Has check if an item exists in cache, without useness update
func (c *LRU) Remove(key interface{})
Remove an item from cache
func (c *LRU) Set(key interface{}, value interface{})
Set an item to cache
Source Files
¶
Click to show internal directories.
Click to hide internal directories.