package
2.1.3-rc0
Repository: https://github.com/iotexproject/iotex-core.git
Documentation: pkg.go.dev

# Functions

Get gets config variable.
GetAddressOrAlias gets address from args or context.
GetContextAddressOrAlias gets current context.
LoadConfig loads config file in yaml format.
TranslateInLang returns translation in selected language.

# Constants

Multi-language support.
Multi-language support.

# Variables

ConfigCmd represents the config command.
ConfigDir is the directory to store config file.
DefaultConfigFile is the default config file name.
ErrConfigDefaultAccountNotSet indicates an error for the default account not being set.
ErrConfigNotMatch indicates error for no config matches.
ErrEmptyEndpoint indicates error for empty endpoint.
Insecure represents the insecure connect option of grpc dial, default is false.
ReadConfig represents the current config read from local.
UILanguage represents the language of ioctl user interface, default is 0 representing English.

# Structs

Config defines the config schema.
Context represents the current context.

# Type aliases

Language type used to enumerate supported language of ioctl.