storage

package
v0.0.0-...-b392570 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataStorage

type DataStorage struct {
	NodeStorage *node.NodeStorage
	// contains filtered or unexported fields
}

DataStorage defines the implementation of datastore using BoltDB as the storage system.

func NewDataStorage

func NewDataStorage(storePath string) (*DataStorage, error)

NewDataStorage is exported

func (*DataStorage) Close

func (storage *DataStorage) Close() error

Close is exported Close storage driver file.

func (*DataStorage) Open

func (storage *DataStorage) Open() error

Open is exported open storage driver file.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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