package
0.0.82
Repository: https://github.com/mindersec/minder.git
Documentation: pkg.go.dev

# Functions

NewExpiring creates a new Expiring entry.
NewExpiringCache creates a new ExpiringCache based on the configuration If the configuration is nil, the default eviction time is 30 minutes.

# Structs

ExpiringCache is a cache that expires entries after a certain time.
ExpiringCacheConfig is the configuration for the ExpiringCache.

# Interfaces

Cacher is the interface for the cache.
Expiring is an interface for an expiring cache entry It provides a method to get the expiration time and the value.