Package Usage: go: github.com/erni27/imcache
Package imcache provides a generic in-memory cache.
It supports absolute expiration, sliding expiration, max entries limit,
eviction callbacks and sharding.
It's safe for concurrent use by multiple goroutines.
The New function creates a new in-memory non-sharded cache instance.
The NewSharded function creates a new in-memory sharded cache instance.
17 versions
Latest release: over 1 year ago
11 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/erni27/imcache