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.
Click to show internal directories.
Click to hide internal directories.