全部搜索项
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: golang-github-renekroon-ttlcache  ]

软件包:golang-github-renekroon-ttlcache-dev(2.11.1+ds-1)

golang-github-renekroon-ttlcache-dev 的相关链接

Screenshot

Debian 的资源:

下载源码包 golang-github-renekroon-ttlcache

维护小组:

外部的资源:

相似软件包:

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 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 golang-github-renekroon-ttlcache-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 18.2 kB79.0 kB [文件列表]