leveldb

package
v0.2.134 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2019 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LeveldbStore

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

func NewLeveldbStore

func NewLeveldbStore(directory string) (*LeveldbStore, error)

func (*LeveldbStore) AddPrefix

func (ds *LeveldbStore) AddPrefix(prefix string) *LeveldbStore

func (*LeveldbStore) Apply

func (ds *LeveldbStore) Apply(key string, value []byte) error

func (*LeveldbStore) Close

func (ds *LeveldbStore) Close() error

func (*LeveldbStore) Delete

func (ds *LeveldbStore) Delete(key string) error

func (*LeveldbStore) Get

func (ds *LeveldbStore) Get(key string) ([]byte, error)

func (*LeveldbStore) List

func (ds *LeveldbStore) List() ([][]byte, error)

Jump to

Keyboard shortcuts

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