cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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()

Jump to

Keyboard shortcuts

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