cli

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagHome    = "home"
	FlagRPCPort = "rpc-port"
	FlagRPCHost = "rpc-host"
	FlagFormat  = "format"
)

Variables

This section is empty.

Functions

func DialRPC

func DialRPC(cmd *cobra.Command) (*grpc.ClientConn, error)

func GetHomeDir

func GetHomeDir(cmd *cobra.Command) string

func GetSigner

func GetSigner(homeDir string) (crypto.Signer, error)

func InitHomeDir

func InitHomeDir(cmd *cobra.Command) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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