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: 10
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 = &boltdbcacheConfig{
done: make(chan struct{}),
}
)
Config ...
Mount returns a new Cache using the provided (and opened) bolt database.
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.
Ping connects to the database. Returns nil if successful.
Set stores a response to the cache at the given key.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.