Bug#928341: ITP: golang-github-renekroon-ttlcache -- An in-memory string-interface{} map with various expiration options for golang
Package: wnpp
Severity: wishlist
Owner: Sascha Steinbiss <satta@debian.org>
* Package name : golang-github-renekroon-ttlcache
Version : 1.4.0+git20190429.e7780e9-1
Upstream Author : Rene Kroon
* URL : https://github.com/ReneKroon/ttlcache
* License : MIT
Programming Lang: Go
Description : An in-memory string-interface{} map with various
expiration options for golang
TTLCache is a simple key/value cache in golang with the following functions:
- Thread-safe
- Individual expiring time or global expiring time, you can choose
- Auto-Extending expiration on Get
- DNS style TTL
- Fast and memory efficient
- Can trigger callback on key expiration
Project TTLCache was forked from wunderlist/ttlcache to add extra
functions not available in the original scope. The main differences are:
- An item can store any kind of object, previously, only strings could
be saved
- Optionally, you can add callbacks to: check if a value should
expire, be notified if a value expires, and be notified when new
values are added to the cache
- The expiration can be either global or per item
- Can exist items without expiration time
- Expirations and callbacks are realtime
Reply to: