Registry / utility / karlseguin-ccache-v2

karlseguin-ccache-v2

JSON →
library2.0.8gogounverified

An LRU cache aimed at high concurrency.

go get github.com/karlseguin/ccache/v2
INSTALL
IMPORT
SIG · KARLSEGUIN-CCACHE-
K
karlseguin-ccache-v2
utilitygov2.0.8
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/v2

Create and use a concurrent LRU cache.

package main import ( "fmt" "github.com/karlseguin/ccache/v2" ) func main() { cache := ccache.New(ccache.Configure().MaxSize(1000)) cache.Set("key", "value", 0) item := cache.Get("key") fmt.Println(item.Value()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.8latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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