Documentation
¶
Overview ¶
Package leveldb use the https://github.com/dgraph-io/badger as cache driver
Index ¶
- 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.