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.
proxy.golang.org
v1.15.0
over 1 year ago
36
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |