cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ConfFileName = "config.json"
View Source
const DefaultBaseDir = "~/.chord"

Variables

View Source
var InitCmd = &cobra.Command{
	Use:   "init",
	Short: "init chord node",
	Long:  `TODO::.`,
	Run:   initNode,
}
View Source
var ShowCmd = &cobra.Command{
	Use:   "show",
	Short: "show system settings",
	Long:  `TODO::.`,
}

Functions

This section is empty.

Types

type StoreCfg

type StoreCfg struct {
	PCfg *p2p.Config       `json:"p2p"`
	CCfg *consensus.Config `json:"consensus"`
	NCfg *node.Config      `json:"node"`
}

func (StoreCfg) String

func (c StoreCfg) String() string

Jump to

Keyboard shortcuts

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