package
Version:
v0.0.10
Opens a new window with list of versions in this module.
Published: Feb 7, 2024
License: GPL-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
¶
New creates an LRU of the given size.
func NewWithEvict(size int, onEvicted func(key interface{}, value interface{})) *lru.Cache
NewWithEvict constructs a fixed size cache with the given eviction
callback.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.