badgerstore

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadgerStore

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

func (*BadgerStore) All

func (bs *BadgerStore) All(pfx []byte, out *[]database.Item, preload bool) error

func (BadgerStore) Close

func (bs BadgerStore) Close() error

func (*BadgerStore) Count

func (bs *BadgerStore) Count(pfx []byte) (int, error)

func (*BadgerStore) Delete

func (bs *BadgerStore) Delete(obj database.Item) error

func (*BadgerStore) Get

func (bs *BadgerStore) Get(obj database.Item) (database.Item, error)

func (BadgerStore) IsKeyNotFoundErr

func (bs BadgerStore) IsKeyNotFoundErr(err error) bool

func (BadgerStore) KeyNotFoundErr added in v0.3.0

func (bs BadgerStore) KeyNotFoundErr() error

func (*BadgerStore) NextID

func (bs *BadgerStore) NextID() (store.Identity, error)

func (*BadgerStore) Set

func (bs *BadgerStore) Set(obj database.Item) error

Jump to

Keyboard shortcuts

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