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