lvldb

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LVLDB

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

func NewLvlDB

func NewLvlDB(path string) (*LVLDB, error)

func (*LVLDB) ClearStore

func (db *LVLDB) ClearStore() error

func (*LVLDB) Close

func (db *LVLDB) Close() error

func (*LVLDB) DeleteByKey

func (db *LVLDB) DeleteByKey(key []byte) error

func (*LVLDB) GetByKey

func (db *LVLDB) GetByKey(key []byte) ([]byte, error)

func (*LVLDB) NewIterator

func (db *LVLDB) NewIterator(prefix []byte) iterator.Iterator

func (*LVLDB) RemoveDbFile

func (db *LVLDB) RemoveDbFile(filepath string) error

func (*LVLDB) SetByKey

func (db *LVLDB) SetByKey(key []byte, value []byte) error

Jump to

Keyboard shortcuts

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