[ 原始碼: golang-github-renekroon-ttlcache ]
套件:golang-github-renekroon-ttlcache-dev(2.11.1+ds-1)
golang-github-renekroon-ttlcache-dev 的相關連結
Debian 的資源:
下載原始碼套件 golang-github-renekroon-ttlcache:
- [golang-github-renekroon-ttlcache_2.11.1+ds-1.dsc]
- [golang-github-renekroon-ttlcache_2.11.1+ds.orig.tar.xz]
- [golang-github-renekroon-ttlcache_2.11.1+ds-1.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
In-memory string-interface{} map with expiration 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, see SkipTtlExtensionOnHit(bool) - 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
其他與 golang-github-renekroon-ttlcache-dev 有關的套件
|
|
|
|
-
- dep: golang-github-stretchr-testify-dev
- sacred extension to the standard Go testing package
-
- dep: golang-golang-x-sync-dev
- Supplemental Go synchronization libraries