badger

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2022 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

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) Get

func (batch *BadgerBatch) Get(key []byte) ([]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()

func (*BadgerBatch) Set

func (batch *BadgerBatch) Set(key []byte, value []byte) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL