storage

package
v0.0.2-alpha2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const BootstrappedLevelDB string = "BootstrappedLevelDB"

BootstrappedLevelDB is a key mapped to levelDB in the boot

Variables

This section is empty.

Functions

func NewLevelDBStorage

func NewLevelDBStorage(path string) (*leveldb.DB, error)

NewLevelDBStorage is a singleton implementation returning the default database as configured.

Types

type Bootstrapper

type Bootstrapper struct{}

Bootstrapper implements bootstrapper.Bootstrapper.

func (*Bootstrapper) Bootstrap

func (*Bootstrapper) Bootstrap(context map[string]interface{}) error

Bootstrap initialises the levelDB.

Jump to

Keyboard shortcuts

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