cli

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatBalances

func FormatBalances(account *eos.AccountResp, config *columnize.Config) string

func FormatBasicAccountInfo

func FormatBasicAccountInfo(account *eos.AccountResp, config *columnize.Config) string

func FormatCPUBandwidth

func FormatCPUBandwidth(account *eos.AccountResp, config *columnize.Config) string

func FormatMemory

func FormatMemory(account *eos.AccountResp, config *columnize.Config) string

func FormatNetworkBandwidth

func FormatNetworkBandwidth(account *eos.AccountResp, config *columnize.Config) string

func FormatPermissions

func FormatPermissions(account *eos.AccountResp, config *columnize.Config) string

func FormatProducers

func FormatProducers(account *eos.AccountResp, config *columnize.Config) string

func FormatVoterInfo

func FormatVoterInfo(account *eos.AccountResp, config *columnize.Config) string

func GetConfirmation

func GetConfirmation(prompt string) (bool, error)

GetConfirmation will prompt for a 4 random number from 1000-9999. The `prompt` should always contain a %d to display the confirmation security code.

func GetDecryptPassphrase

func GetDecryptPassphrase() (string, error)

func GetEncryptPassphrase

func GetEncryptPassphrase() (string, error)

func GetPassword

func GetPassword(input string) (string, error)

func ToAccountName

func ToAccountName(in string) (out eos.AccountName, err error)

ToAccountName converts a eos valid name string (in) into an eos-go AccountName struct

func ToName

func ToName(in string) (out eos.Name, err error)

ToName converts a valid eos name string (in) into an eos-go Name struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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