Documentation
¶
Index ¶
- type BadgerBatch
- func (batch *BadgerBatch) Close()
- func (batch *BadgerBatch) Commit() error
- func (batch *BadgerBatch) Del(key []byte) error
- func (batch *BadgerBatch) Get(key []byte) ([]byte, error)
- func (batch *BadgerBatch) Iterate(opt *engine.PrefixIteratorOption, handle func([]byte, []byte) error) error
- func (batch *BadgerBatch) Reset()
- func (batch *BadgerBatch) Set(key []byte, value []byte) error
- type BadgerStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadgerBatch ¶
type BadgerBatch struct {
// contains filtered or unexported fields
}
func (*BadgerBatch) Close ¶
func (batch *BadgerBatch) Close()
func (*BadgerBatch) Commit ¶
func (batch *BadgerBatch) Commit() error
func (*BadgerBatch) Del ¶
func (batch *BadgerBatch) Del(key []byte) error
func (*BadgerBatch) Iterate ¶
func (batch *BadgerBatch) Iterate(opt *engine.PrefixIteratorOption, handle func([]byte, []byte) error) error
func (*BadgerBatch) Reset ¶
func (batch *BadgerBatch) Reset()
type BadgerStore ¶
type BadgerStore struct {
// contains filtered or unexported fields
}
func NewBadgerStore ¶
func NewBadgerStore() *BadgerStore
func (*BadgerStore) Close ¶
func (store *BadgerStore) Close() error
func (*BadgerStore) NewBatch ¶
func (store *BadgerStore) NewBatch() engine.Batch
Click to show internal directories.
Click to hide internal directories.