package
Version:
v0.0.0-...-61f2a12
Opens a new window with list of versions in this module.
Published: Dec 13, 2017
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
PluginConfig = &bboltdbcacheConfig{
done: make(chan struct{}),
}
)
Config ...
Cache is an implementation of httpcache.Cache that uses a bolt database.
Mount returns a new Cache using the provided (and opened) bolt database.
New returns a new Cache that uses a bolt database at the given path.
Close closes the underlying boltdb database.
Delete removes the response with the given key from the cache.
Get retrieves the response corresponding to the given key if present.
Set stores a response to the cache at the given key.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.