Documentation ¶
Index ¶
- type BadgerDB
- func (db *BadgerDB) Close() error
- func (db *BadgerDB) Del(key []byte) error
- func (db *BadgerDB) DelBatch(keys ...[]byte) error
- func (db *BadgerDB) Get(key []byte) ([]byte, error)
- func (db *BadgerDB) Init()
- func (db *BadgerDB) KeyCount() int64
- func (db *BadgerDB) Range(f func(key, value []byte) bool, opt *option.RangeOption) error
- func (db *BadgerDB) RangeSort(f func(key, value []byte) bool, f2 ssort.SSort, opt *option.RangeOption) error
- func (db *BadgerDB) RangeWithOption(f func(key, value []byte) bool, f2 ssort.SSort, opt *option.RangeOption) error
- func (db *BadgerDB) Set(key []byte, value []byte) error
- func (db *BadgerDB) SetBatch(list map[string][]byte, ttl int) error
- func (db *BadgerDB) SetWithDTTL(key []byte, value []byte) error
- func (db *BadgerDB) SetWithTTL(key []byte, value []byte, ttl int) 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.