Documentation ¶
Index ¶
- Variables
- type Cache
- func (c *Cache) Action(name string, args ...interface{}) (map[string]*interface{}, error)
- func (c *Cache) Close() error
- func (c *Cache) Debug(action string)
- func (c *Cache) Delete(key string)
- func (c *Cache) Get(key string) (resp []byte, ok bool)
- func (c *Cache) Ping() error
- func (c *Cache) Set(key string, resp []byte)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PluginConfig = &boltdbcacheConfig{ done: make(chan struct{}), } )
Config ...
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Directories ¶
Path | Synopsis |
---|---|
This package provides a simple LRU cache backed by boltdb It is based on the LRU implementation in groupcache: https://github.com/golang/groupcache/tree/master/lru
|
This package provides a simple LRU cache backed by boltdb It is based on the LRU implementation in groupcache: https://github.com/golang/groupcache/tree/master/lru |
Click to show internal directories.
Click to hide internal directories.