//
pkg.gl
Category
github.com/trisacrypto/directory
pkg
utils
cache
package
1.8.0
Repository:
https://github.com/trisacrypto/directory.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
67 SLOC
#
Functions
New
No description provided by the author
NewTTL
No description provided by the author
#
Structs
Disabled
Disabled implements the Cache interface but implements no-op methods that return false.
TTL
TTL is a wrapper around a thread-safe LRU cache that adds a time-to-live value to each entry.
#
Interfaces
Cache
Cache is a generic interface that can be implemented by most types of caches.