kvdb

package
v0.0.0-...-8b8fba9 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DATA_DIR string

Functions

func CreateOrOpen

func CreateOrOpen(dbId string) (*leveldb.DB, error)

func Get

func Get(dbId string, key []byte) ([]byte, error)

func ListDbs

func ListDbs() ([]string, error)

func OnExitCleanup

func OnExitCleanup()

func Put

func Put(dbId string, key []byte, value []byte) error

func SetupDb

func SetupDb(dataDir string, maxDbCacheEntries int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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