Documentation
¶
Index ¶
- Constants
- type AccountCmd
- type AccountCmdArgs
- type GenerateCmd
- type GenerateCmdArgs
- type LegacyAddressCmd
- type LegacyAddressCmdArgs
- type PrincipalCmd
- type PrincipalCmdArgs
- type PrivateKeyCmd
- type PrivateKeyCmdArgs
- type PublicKeyCmd
- type PublicKeyCmdArgs
- type VersionCmd
- type XPublicKeyCmd
- type XPublicKeyCmdArgs
Constants ¶
View Source
const ACCOUNT_CMD = "account"
View Source
const GENERATE_CMD = "generate"
View Source
const LEGACY_ADDRESS_CMD = "legacy-address"
View Source
const PRINCIPAL_CMD = "principal"
View Source
const PRIVATE_KEY_CMD = "private-key"
View Source
const PUBLIC_KEY_CMD = "public-key"
View Source
const VERSION_CMD = "version"
View Source
const X_PUBLIC_KEY_CMD = "x-public-key"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCmd ¶
type AccountCmd struct {
FlagSet *flag.FlagSet
Args *AccountCmdArgs
}
func NewAccountCmd ¶
func NewAccountCmd() *AccountCmd
func (*AccountCmd) Run ¶
func (cmd *AccountCmd) Run() error
type AccountCmdArgs ¶
type GenerateCmd ¶
type GenerateCmd struct {
FlagSet *flag.FlagSet
Args *GenerateCmdArgs
}
func NewGenerateCmd ¶
func NewGenerateCmd() *GenerateCmd
func (*GenerateCmd) Run ¶
func (cmd *GenerateCmd) Run() error
type GenerateCmdArgs ¶
type GenerateCmdArgs struct {
OutputFile *string
}
type LegacyAddressCmd ¶
type LegacyAddressCmd struct {
FlagSet *flag.FlagSet
Args *LegacyAddressCmdArgs
}
func NewLegacyAddressCmd ¶
func NewLegacyAddressCmd() *LegacyAddressCmd
func (*LegacyAddressCmd) Run ¶
func (cmd *LegacyAddressCmd) Run() error
type LegacyAddressCmdArgs ¶
type PrincipalCmd ¶
type PrincipalCmd struct {
FlagSet *flag.FlagSet
Args *PrincipalCmdArgs
}
func NewPrincipalCmd ¶
func NewPrincipalCmd() *PrincipalCmd
func (*PrincipalCmd) Run ¶
func (cmd *PrincipalCmd) Run() error
type PrincipalCmdArgs ¶
type PrivateKeyCmd ¶
type PrivateKeyCmd struct {
FlagSet *flag.FlagSet
Args *PrivateKeyCmdArgs
}
func NewPrivateKeyCmd ¶
func NewPrivateKeyCmd() *PrivateKeyCmd
func (*PrivateKeyCmd) Run ¶
func (cmd *PrivateKeyCmd) Run() error
type PrivateKeyCmdArgs ¶
type PublicKeyCmd ¶
type PublicKeyCmd struct {
FlagSet *flag.FlagSet
Args *PublicKeyCmdArgs
}
func NewPublicKeyCmd ¶
func NewPublicKeyCmd() *PublicKeyCmd
func (*PublicKeyCmd) Run ¶
func (cmd *PublicKeyCmd) Run() error
type PublicKeyCmdArgs ¶
type VersionCmd ¶
type VersionCmd struct {
Version string
}
func NewVersionCmd ¶
func NewVersionCmd(version string) *VersionCmd
func (*VersionCmd) Run ¶
func (cmd *VersionCmd) Run() error
type XPublicKeyCmd ¶
type XPublicKeyCmd struct {
FlagSet *flag.FlagSet
Args *XPublicKeyCmdArgs
}
func NewXPublicKeyCmd ¶
func NewXPublicKeyCmd() *XPublicKeyCmd
func (*XPublicKeyCmd) Run ¶
func (cmd *XPublicKeyCmd) Run() error
type XPublicKeyCmdArgs ¶
Click to show internal directories.
Click to hide internal directories.