ctl

package
v1.9.25 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Unlicense Imports: 20 Imported by: 1

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:11048"
	// DefaultWallet is
	DefaultWallet = "127.0.0.1:11046"
	// 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)
)
View Source
var F, E, W, I, D, T logg.LevelPrinter = logg.GetLogPrinterSet(subsystem)
View Source
var HelpPrint = func() {
	fmt.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 CommandUsage added in v0.4.14

func CommandUsage(method string)

CommandUsage display the usage for a specific command.

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 *pod.State)

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