leveldb

package
v0.0.0-...-e1aa8c7 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(options map[string]interface{}) (kvdb.Database, error)

Types

type Database

type Database struct {
}

func (*Database) Close

func (db *Database) Close() error

func (*Database) Delete

func (db *Database) Delete(key []byte) error

func (*Database) Get

func (db *Database) Get(key []byte) ([]byte, error)

func (*Database) Has

func (db *Database) Has(key []byte) (bool, error)

func (*Database) NewBatch

func (db *Database) NewBatch() kvdb.Batch

func (*Database) NewIterator

func (db *Database) NewIterator(prefix []byte, start []byte) kvdb.Iterator

func (*Database) Put

func (db *Database) Put(key []byte, value []byte) error

func (*Database) Stat

func (db *Database) Stat(property string) (string, error)

Jump to

Keyboard shortcuts

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