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

github.com/bartventer/gocache/ramcache

Package ramcache implements the driver.Cache interface using an in-memory map. It's useful for testing, development, and caching small data sets. It's not recommended for production due to lack of data persistence across restarts. The URL should have the following format: The optional query part can be used to configure the in-memory cache options through query parameters. The keys of the query parameters should match the case-insensitive field names of the Options structure. Values being set in the cache should be of type [][byte], [string], or implement one of the following interfaces: You can create a RAM cache with New: Please note that due to the limitations of the RAM Cache, pattern matching operations are not supported. This includes the cache.Cache Count and DelKeys methods, which will return a cache.ErrPatternMatchingNotSupported error if called.

Ecosystem
proxy.golang.org
Latest Release
v1.15.0
over 1 year ago
Versions
36
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/bartventer/gocache/ramcache
spec
License Apache-2.0
Namespace github.com/bartventer/gocache
First Release over 1 year ago
Last Synced 23 days ago
Repository
Stars 0 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Overall Top 6.7%