package
Version:
v0.0.0-...-2b5131d
Opens a new window with list of versions in this module.
Published: Nov 21, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Connect ...
Connect to mongodb via uri
func SetState(newState State)
SetState ...
Update main state
type State struct {
Address string `bson:"address" json:"address"`
Mnemonic string `bson:"mnemonic" json:"mnemonic"`
HdPath string `bson:"hdPath" json:"hdPath"`
ChainID string `bson:"chainID" json:"chainID"`
Node string `bson:"node" json:"node"`
}
State ...
Main instance state
GetState ...
Returns app state from db
Source Files
¶
Click to show internal directories.
Click to hide internal directories.