package
Version:
v0.1.0-alpha
Opens a new window with list of versions in this module.
Published: Apr 7, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Map struct {
Evictions chan interface{}
}
Map is a map that self-prunes items
based on a TTL.
Add adds an item to the map or updates the timestamp if the
item already exists.
Get gets a value from the map.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.