Registry / utility / allegro-bigcache-v3

allegro-bigcache-v3

JSON →
library3.1.0gogounverified

BigCache is a fast, concurrent, in-memory cache for Go applications.

go get github.com/allegro/bigcache/v3
INSTALL
IMPORT
SIG · ALLEGRO-BIGCACHE-V
A
allegro-bigcache-v3
utilitygov3.1.0
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.

bigcache
github.com/allegro/bigcache/v3

Create a BigCache instance, set and get a value

package main import ( "fmt" "github.com/allegro/bigcache/v3" ) func main() { cache, _ := bigcache.NewBigCache(bigcache.DefaultConfig(10 * time.Minute)) cache.Set("key", []byte("value")) val, _ := cache.Get("key") fmt.Println(string(val)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
87 hits · last 30 days
node
84
OpenAI (training)
1
Resources