import "github.com/iotexproject/iotex-core/ioctl"
APIServiceConfig defines a config of APIServiceClient
type Client interface { // Start starts the client Start(context.Context) error // Stop stops the client Stop(context.Context) error // Config returns the config of the client Config() config.Config // APIServiceClient returns an API service client APIServiceClient(APIServiceConfig) (iotexapi.APIServiceClient, error) // SelectTranslation select a translation based on UILanguage SelectTranslation(map[config.Language]string) (string, config.Language) // AskToConfirm asks user to confirm from terminal, true to continue AskToConfirm() bool // ReadSecret reads password from terminal ReadSecret() (string, error) }
Client defines the interface of an ioctl client
NewClient creates a new ioctl client
Path | Synopsis |
---|---|
cmd | |
cmd/account | |
cmd/action | |
cmd/alias | |
cmd/bc | |
cmd/config | |
cmd/node | |
cmd/update | |
cmd/version | |
flag | |
output | |
util | |
validator |
Package ioctl imports 9 packages (graph). Updated 2019-12-14. Refresh now. Tools for package owners.