common

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExisted

func FileExisted(filename string) bool

func GetConfirmedPassword

func GetConfirmedPassword() ([]byte, error)

GetConfirmedPassword gets double confirmed password from user input

func GetFlagPassword

func GetFlagPassword() ([]byte, error)

GetFlagPassword gets node's wallet password from command line or user input

func GetPassword

func GetPassword() ([]byte, error)

GetPassword gets password from user input

func LocalServer

func LocalServer() string

func PrintError

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

func PrintErrorMsg

func PrintErrorMsg(format string, a ...interface{})

func PrintInfoMsg

func PrintInfoMsg(format string, a ...interface{})

func PrintWarnMsg

func PrintWarnMsg(format string, a ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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