ctl

package
v0.0.0-...-a838072 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Unlicense Imports: 18 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:11048"
	// DefaultWallet is
	DefaultWallet = "127.0.0.1:11046"
	// DefaultWalletCertFile is
	DefaultWalletCertFile = filepath.Join(SPVHomeDir, "rpc.cert")
	// NodeHomeDir is
	NodeHomeDir = util.AppDataDir("pod", false)
	// PodCtlHomeDir is
	PodCtlHomeDir = util.AppDataDir("pod/ctl", false)
	// SPVHomeDir is
	SPVHomeDir = util.AppDataDir("pod/spv", false)
)

nolint

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