Documentation ¶
Index ¶
- Variables
- func GenerateOrBroadcastTxCLI(cliCtx clientCtx.CLIContext, flagSet *pflag.FlagSet, msgs ...sdk.Msg) error
- func GetClientContextFromCmd(cmd *cobra.Command) clientCtx.CLIContext
- func GetClientQueryContext(cmd *cobra.Command) (clientCtx.CLIContext, error)
- func GetClientTxContext(cmd *cobra.Command) (clientCtx.CLIContext, error)
- func GetServerContextFromCmd(cmd *cobra.Command) server.Context
- func GzipIt(input []byte) ([]byte, error)
- func IsGzip(input []byte) bool
- func IsWasm(input []byte) bool
- func WriteGeneratedTxResponse(clientCtx clientCtx.CLIContext, w http.ResponseWriter, br rest.BaseReq, ...)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClientContextKey = sdk.ContextKey("client.context") ServerContextKey = sdk.ContextKey("server.context") )
Functions ¶
func GetClientContextFromCmd ¶
func GetClientContextFromCmd(cmd *cobra.Command) clientCtx.CLIContext
func GetClientQueryContext ¶
func GetClientQueryContext(cmd *cobra.Command) (clientCtx.CLIContext, error)
func GetClientTxContext ¶
func GetClientTxContext(cmd *cobra.Command) (clientCtx.CLIContext, error)
func WriteGeneratedTxResponse ¶
func WriteGeneratedTxResponse( clientCtx clientCtx.CLIContext, w http.ResponseWriter, br rest.BaseReq, msgs ...sdk.Msg, )
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.