Skip to content

orian/go-ttlstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-ttlstore

Simple Golang TTL store

It is a sync.Map wrapped with functions cleaning it. It allows to set a Janitor which is notified about changes in store.

Provided Janitor:

  • keeps the number of items under N (keep the most recent ones)
  • deletes old items (maxAge)

About

Simple Golang TTL store

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages