xdb

package
v0.0.0-...-b68b127 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StorageEngineOptions

func StorageEngineOptions(path string) badger.Options

Types

type StorageEngine

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

func (*StorageEngine) Close

func (se *StorageEngine) Close()

func (*StorageEngine) Delete

func (se *StorageEngine) Delete(key []byte) bool

func (*StorageEngine) Get

func (se *StorageEngine) Get(key []byte) ([]byte, bool)

func (*StorageEngine) IsExists

func (se *StorageEngine) IsExists(key []byte) bool

func (*StorageEngine) Open

func (se *StorageEngine) Open(dbPath string) bool

func (*StorageEngine) Set

func (se *StorageEngine) Set(key []byte, value []byte) bool

Jump to

Keyboard shortcuts

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