Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRandomTestStoragePath ¶
func GetRandomTestStoragePath() string
GetRandomTestStoragePath generates a random path for DB storage
func NewLevelDBRepository ¶
func NewLevelDBRepository(db *leveldb.DB) storage.Repository
NewLevelDBRepository returns levelDb implementation of Repository
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.
Click to show internal directories.
Click to hide internal directories.