Skip to content

brunocapri/go-trunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Trunk

Go Trunk is a small, concurrent, in memory cache with sharding.

  go get github.com/brunocapri/go-trunk
cache, err := trunk.NewCache[int](time.Second*10, -1)
cache.Add("myKey", 10)
// ...
val, ok := cache.Get("myKey")

About

In memory cache I use for my apps

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages