cmd

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the app's semantic version. Designed to be overwritten by make.
	Version string

	// Branch is the git branch used to build the App. Designed to be overwritten by make.
	Branch string

	// Commit is the git commit used to build the app. Designed to be overwritten by make.
	Commit string
	// ctx    cancel used to signal the app to gracefully exit.
	Ctx, Cancel = context.WithCancel(context.Background())
)
View Source
var EntryPointCreated = make(chan bool, 1)

Functions

func AddCommands

func AddCommands(cmd *cobra.Command)

func EnsureCLIFlags

func EnsureCLIFlags(cmd *cobra.Command, appcfg *bc.Config)

Types

type BaseApp

type BaseApp struct {
	Config *bc.Config
}

func NewBaseApp

func NewBaseApp() *BaseApp

func (*BaseApp) Initialize

func (app *BaseApp) Initialize(cmd *cobra.Command)

Directories

Path Synopsis
Package integration provides RPC testing harness for executing and interacting with full node
Package integration provides RPC testing harness for executing and interacting with full node

Jump to

Keyboard shortcuts

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