badger

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultOptions = Options{

	Options: badger.DefaultOptions,
	// contains filtered or unexported fields
}

Functions

func NewDatastore

func NewDatastore(path string, options *Options) (*datastore, error)

NewDatastore creates a new badger datastore.

DO NOT set the Dir and/or ValuePath fields of opt, they will be set for you.

Types

type Options

type Options struct {
	badger.Options
	// contains filtered or unexported fields
}

Options are the badger datastore options, reexported here for convenience.

Jump to

Keyboard shortcuts

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