common

package
v0.8.4-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfigFile = "./config.json"
)

Variables

View Source
var (
	Ip      string
	Port    string
	Version string
)

Functions

func Address

func Address() string

func FormatOutput

func FormatOutput(o []byte) error

func NewIpFlag

func NewIpFlag() cli.Flag

func NewPortFlag

func NewPortFlag() cli.Flag

func PrintError

func PrintError(c *cli.Context, err error, cmd string)

func WalletPassword

func WalletPassword(passwd string) []byte

WalletPassword prompts user to input wallet password when password is not specified from command line

Types

This section is empty.

Jump to

Keyboard shortcuts

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