badger

package module
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2017 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

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

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