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 WithSession(fn Runner) cmdRunner
- type Runner
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupBaseCommand ¶
func WithSession ¶
func WithSession(fn Runner) cmdRunner
Types ¶
type Session ¶
type Session interface { RootDir() string KeyManager() (keys.Keybase, error) Node() string Client() *tmclient.HTTP TxClient() (txutil.Client, error) QueryClient() query.Client KeyName() string KeyType() (keys.CryptoAlgo, error) Key() (keys.Info, error) Nonce() (uint64, error) Log() log.Logger Signer() (txutil.Signer, keys.Info, error) Ctx() context.Context Wait() bool }
Click to show internal directories.
Click to hide internal directories.