package
Version:
v0.0.0-...-492582d
Opens a new window with list of versions in this module.
Published: Feb 15, 2016
License: Apache-2.0, MIT
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 httpcache.Cache that
uses github.com/syndtr/goleveldb/leveldb
Cache is an implementation of httpcache.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.