Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.8% on proxy.golang.org
Top 1.7% dependent packages on proxy.golang.org
Top 1.7% dependent repos on proxy.golang.org
Top 7.4% forks on proxy.golang.org
Top 2.0% docker downloads on proxy.golang.org

proxy.golang.org : zgo.at/zcache/v2

Package zcache is an in-memory key:value store/cache with time-based evictions. It is suitable for applications running on a single machine. Its major advantage is that it's essentially a thread-safe map with expiration times. Any object can be stored, for a given duration or forever, and the cache can be safely used by multiple goroutines. Although zcache isn't meant to be used as a persistent datastore, the contents can be saved to and loaded from a file (using `c.Items()` to retrieve the items map to serialize, and `NewFrom()` to create a cache from a deserialized one) to recover from downtime quickly.

Registry - Source - Documentation - JSON
purl: pkg:golang/zgo.at/zcache/v2
Keywords: cache, go
License: MIT
Latest release: almost 2 years ago
First release: about 2 years ago
Namespace: zgo.at/zcache
Dependent packages: 10
Dependent repositories: 10
Stars: 44 on GitHub
Forks: 7 on GitHub
Docker dependents: 3
Docker downloads: 38
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/arp242
Last synced: 21 days ago

    Loading...
    Readme
    Loading...