package
Version:
v1.1.5
Opens a new window with list of versions in this module.
Published: Jul 2, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package leveldbcache provides an implementation of cache.Cache that
uses github.com/syndtr/goleveldb/leveldb
Cache is an implementation of cache.Cache with leveldb storage
New returns a new Cache that will store leveldb in path
NewWithDB returns a new Cache using the provided leveldb as underlying
storage.
Delete removes the response with key from the cache
Get returns the response corresponding to key if present
Set saves a response to the cache as key
Source Files
¶
Click to show internal directories.
Click to hide internal directories.