Registry / utility / karlseguin-rcache

karlseguin-rcache

JSON →
library1.0.1gogounverified

A simple in-memory cache with TTL support for Go applications.

go get github.com/karlseguin/rcache
INSTALL
IMPORT
SIG · KARLSEGUIN-RCACHE
K
karlseguin-rcache
utilitygov1.0.1
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.

rcache
github.com/karlseguin/rcache

Set and get a value from the cache

package main import ( "fmt" "github.com/karlseguin/rcache" ) func main() { cache := rcache.New() cache.Set("key", "value") val, _ := cache.Get("key") fmt.Println(val) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

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