package
Version:
v1.9.1
Opens a new window with list of versions in this module.
Published: May 9, 2020
License: MIT
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
¶
TTL implements a simple TTLed cache. It is concurrency safe.
NewTTL creates a new TTLed cache.
Get retrieves a single entry, extending it's TTL.
Purge removes all entries from the cache.
Remove removes a single entry from the cache.
Set creates or overwrites an entry.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.