badger

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBadgerStore

func CreateBadgerStore(filePath string, opts ...stoabs.Option) (stoabs.KVStore, error)

CreateBadgerStore creates a new Badger-backed KV store.

func Wrap

func Wrap(db *badger.DB, cfg stoabs.Config) stoabs.KVStore

Wrap creates a KVStore using an existing badger.db

Types

This section is empty.

Jump to

Keyboard shortcuts

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