Documentation ¶ Index ¶ func Execute() func Run(cmd *cobra.Command, args []string) type Config func LoadConfig() *Config type Mode type Network type Node func NewNode(config *Config, coreNode *coreCmd.Node) *Node func (node *Node) Start() func (node *Node) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute() func Run ¶ func Run(cmd *cobra.Command, args []string) Types ¶ type Config ¶ type Config struct { MongoURI string MongoDatabase string MongoCollection string } func LoadConfig ¶ func LoadConfig() *Config type Mode ¶ type Mode string type Network ¶ type Network string type Node ¶ type Node struct { SyncingService *mongodb.SyncingService Config *Config CoreNode *coreCmd.Node } func NewNode ¶ func NewNode(config *Config, coreNode *coreCmd.Node) *Node func (*Node) Start ¶ func (node *Node) Start() func (*Node) Stop ¶ func (node *Node) Stop() Source Files ¶ View all Source files config.go node.go root.go run.go Click to show internal directories. Click to hide internal directories.