すべてのオプション
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 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • enhances

golang-github-renekroon-ttlcache-dev のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 18.2 kB79.0 kB [ファイル一覧]