badger

package module
v0.0.0-...-1779b5b Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 badger.Options

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

var DefaultOptions Options = Options(badger.DefaultOptions)

Jump to

Keyboard shortcuts

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