Documentation ¶
Overview ¶
Package bolt use the go.etcd.io/bbolt(github.com/etcd-io/bbolt) as cache driver
Index ¶
- Constants
- type BoltDB
- func (c *BoltDB) Clear() error
- func (c *BoltDB) Close() error
- func (c *BoltDB) Del(key string) error
- func (c *BoltDB) DelMulti(keys []string) error
- func (c *BoltDB) Get(key string) interface{}
- func (c *BoltDB) GetMulti(keys []string) map[string]interface{}
- func (c *BoltDB) Has(key string) bool
- func (c *BoltDB) Set(key string, val interface{}, _ time.Duration) (err error)
- func (c *BoltDB) SetMulti(values map[string]interface{}, ttl time.Duration) (err error)
Constants ¶
View Source
const Name = "boltDB"
Name driver name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.