Documentation
¶
Index ¶
- func AddFlagKey(cmd *cobra.Command, flags *pflag.FlagSet)
- func AddFlagKeyType(cmd *cobra.Command, flags *pflag.FlagSet)
- func AddFlagNode(cmd *cobra.Command, flags *pflag.FlagSet)
- func AddFlagNonce(cmd *cobra.Command, flags *pflag.FlagSet)
- func AddFlagWait(cmd *cobra.Command, flags *pflag.FlagSet)
- func SetupBaseCommand(cmd *cobra.Command)
- func WithContext(fn Runner) cmdRunner
- type Context
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupBaseCommand ¶
func WithContext ¶
func WithContext(fn Runner) cmdRunner
Types ¶
type Context ¶
type Context interface {
RootDir() string
KeyManager() (keys.Keybase, error)
Node() string
Client() *tmclient.HTTP
TxClient() (txutil.Client, error)
KeyName() string
KeyType() (keys.CryptoAlgo, error)
Key() (keys.Info, error)
Nonce() (uint64, error)
Log() log.Logger
Signer() (txutil.Signer, keys.Info, error)
Wait() bool
}
Click to show internal directories.
Click to hide internal directories.