database

package
v0.0.0-...-264e92e Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LevelDB

type LevelDB struct {
	Db *leveldb.DB
}

func NewLevelDB

func NewLevelDB(path string) (*LevelDB, error)

func (*LevelDB) Close

func (l *LevelDB) Close() error

func (*LevelDB) Get

func (l *LevelDB) Get(key string) ([]byte, error)

func (*LevelDB) Put

func (l *LevelDB) Put(key string, value []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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