storage

package
v1.3.1-release Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_TABLE = "bifrost"

Variables

This section is empty.

Functions

func Close added in v1.2.2

func Close()

func DelKeyVal

func DelKeyVal(key []byte) (err error)

func GetDBInfo added in v1.2.2

func GetDBInfo() (data []byte, err error)

func GetKeyVal

func GetKeyVal(key []byte) (data []byte, err error)

func InitStorage

func InitStorage()

func PutKeyVal

func PutKeyVal(key []byte, val []byte) (err error)

func SaveDBInfo added in v1.2.2

func SaveDBInfo(data []byte) (err error)

Types

type ListStruct added in v1.2.2

type ListStruct struct {
	Key   string
	Value string
}

func GetListByPrefix

func GetListByPrefix(key []byte) (data []ListStruct)

Jump to

Keyboard shortcuts

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