ctl

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: Unlicense Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultConfigFile is
	DefaultConfigFile = filepath.Join(PodCtlHomeDir, "conf.json")
	// DefaultRPCCertFile is
	DefaultRPCCertFile = filepath.Join(NodeHomeDir, "rpc.cert")
	// DefaultRPCServer is
	DefaultRPCServer = "127.0.0.1:9998"
	// DefaultWallet is
	DefaultWallet = "127.0.0.1:9996"
	// DefaultWalletCertFile is
	DefaultWalletCertFile = filepath.Join(SPVHomeDir, "rpc.cert")
	// NodeHomeDir is
	NodeHomeDir = appdata.Dir("pod", false)
	// PodCtlHomeDir is
	PodCtlHomeDir = appdata.Dir("pod/ctl", false)
	// SPVHomeDir is
	SPVHomeDir = appdata.Dir("pod/spv", false)
)

nolint

View Source
var HelpPrint = func() {
	log.Println("help has not been overridden")
}

HelpPrint is the uninitialized help print function

View Source
var Version = version

Version is exported so controlling apps can print this information

Functions

func ListCommands

func ListCommands()

ListCommands categorizes and lists all of the usable commands along with their one-line usage.

func Main

func Main(args []string, cx *conte.Xt)

Main is the entry point for the pod.Ctl component

Types

This section is empty.

Jump to

Keyboard shortcuts

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