badger

package module
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2018 License: MIT Imports: 6 Imported by: 0

README

go-ds-badger

standard-readme compliant GoDoc Build Status

Datastore implementation using badger as backend.

Documentation

https://godoc.org/github.com/ipfs/go-ds-badger

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

Want to hack on IPFS?

License

MIT

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 added in v0.2.1

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