alla flaggor
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: golang-github-robfig-go-cache  ]

Paket: golang-github-robfig-go-cache-dev (0.0.0+git20130306.9fc39e0-4)

Länkar för golang-github-robfig-go-cache-dev

Screenshot

Debianresurser:

Hämta källkodspaketet golang-github-robfig-go-cache:

Ansvariga:

Externa resurser:

Liknande paket:

in-memory key:value store/cache library for Go

This package contains an in-memory key:value store/cache similar to memcached that is suitable for applications running on a single machine. Its major advantage is that, being essentially a thread-safe map[string]interface{} with expiration times, it doesn't need to serialize or transmit its contents over the network.

Any object can be stored, for a given duration or forever, and the cache can be safely used by multiple goroutines.

Although go-cache isn't meant to be used as a persistent datastore, the entire cache may be saved to and loaded from a file (or any io.Reader/Writer) to recover from downtime quickly.

Hämta golang-github-robfig-go-cache-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 8,4 kbyte44,0 kbyte [filförteckning]