level

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LevelBatch

type LevelBatch struct {
	// contains filtered or unexported fields
}

func (*LevelBatch) Close

func (batch *LevelBatch) Close()

func (*LevelBatch) Commit

func (batch *LevelBatch) Commit() error

func (*LevelBatch) Del

func (batch *LevelBatch) Del(key []byte) error

func (*LevelBatch) Get

func (batch *LevelBatch) Get(key []byte) ([]byte, error)

func (*LevelBatch) Iterate

func (batch *LevelBatch) Iterate(opt *engine.PrefixIteratorOption, handle func([]byte, []byte) error) error

func (*LevelBatch) Reset

func (batch *LevelBatch) Reset()

func (*LevelBatch) Set

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

type LevelStore

type LevelStore struct {
	// contains filtered or unexported fields
}

func NewLevelStore

func NewLevelStore() *LevelStore

func (*LevelStore) Close

func (store *LevelStore) Close() error

func (*LevelStore) NewBatch

func (store *LevelStore) NewBatch() engine.Batch

Jump to

Keyboard shortcuts

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