ctl

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Unlicense Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var F, E, W, I, D, T log.LevelPrinter = log.GetLogPrinterSet(subsystem)
View Source
var HelpPrint = func() {
	fmt.Println("help has not been overridden")
}

HelpPrint is the uninitialized help print function

Functions

func Call added in v0.0.18

func Call(
	cx *config.Config, wallet bool, method string, params ...interface{},
) (result []byte, e error)

Call uses settings in the context to call the method with the given parameters and returns the raw json bytes

func CommandUsage

func CommandUsage(method string)

CommandUsage display the usage for a specific command.

func CtlMain added in v0.0.18

func CtlMain(cx *config.Config)

CtlMain is the entry point for the pod.Ctl component

func ListCommands

func ListCommands() (s string)

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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