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 = &boltdbtreecacheConfig{ done: make(chan struct{}), } )
Config ...
Functions ¶
This section is empty.
Types ¶
type Cache ¶
func Mount ¶
func Mount(db *bolt.DB) *Cache
Mount returns a new Cache using the provided (and opened) bolt database.
Click to show internal directories.
Click to hide internal directories.