Registry / utility / karlseguin-ccache

karlseguin-ccache

JSON →
library2.0.3+incompatiblegogounverified

An LRU cache aimed at high concurrency, providing a thread-safe in-memory cache with TTL support.

go get github.com/karlseguin/ccache
INSTALL
IMPORT
SIG · KARLSEGUIN-CCACHE
K
karlseguin-ccache
utilitygov2.0.3+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ccache
github.com/karlseguin/ccache

Create a cache and set a value

import "github.com/karlseguin/ccache" func main() { cache := ccache.New(ccache.Configure().MaxSize(1000)) cache.Set("key", "value", time.Minute) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.3+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
karlseguin-ccache — go get karlseguin-ccache · libregistry