package
10.358.0+incompatible
Repository: https://github.com/aporeto-inc/trireme-lib.git
Documentation: pkg.go.dev

# Functions

NewCache creates a new data cache.
NewCacheWithExpiration creates a new data cache.
NewCacheWithExpirationNotifier creates a new data cache with notifier.
ToString generates information about all caches initialized through this lib.

# Structs

Cache is the structure that involves the map of entries.

# Interfaces

DataStore is the interface to a datastore.

# Type aliases

ExpirationNotifier is a function which will be called every time a cache expires an item.