Discover Packages
github.com/v2fly/v2ray-core/v5
common
cache
package
Version:
v5.17.0
Opens a new window with list of versions in this module.
Published: Aug 23, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Lru interface {
Get(key interface{}) (value interface{}, ok bool )
GetKeyFromValue(value interface{}) (key interface{}, ok bool )
Put(key, value interface{})
}
Lru simple, fast lru cache implementation
NewLru initializes a lru cache
Source Files
¶
Click to show internal directories.
Click to hide internal directories.