badger_client

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEBUG loggingLevel = iota
	INFO
	WARNING
	ERROR
)

Variables

This section is empty.

Functions

func CleanGC

func CleanGC()

func DefaultDecode

func DefaultDecode(data []byte, value interface{}) error

func DefaultEncode

func DefaultEncode(value interface{}) ([]byte, error)

func New

func New(storageDir string) (*badgerhold.Store, error)

func Open

func Open(storageDir string) (*badgerhold.Store, error)

Types

type Badger

type Badger struct {
	Store *badgerhold.Store
}

Jump to

Keyboard shortcuts

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