Documentation ¶
Index ¶
- Constants
- func BoxListHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
- func BoxQueryHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
- func BoxQueryParamsHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
- func BoxSearchHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
- func PostDepositBoxCreateHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
- func PostDescribeHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
- func PostDisableFeatureHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
- func PostFutureBoxCreateHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
- func PostInjectHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string, operation string) http.HandlerFunc
- func PostInterestHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, operation string) http.HandlerFunc
- func PostLockBoxCreateHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
- func PostWithdrawHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
- type PostBoxBaseReq
- type PostDepositBoxReq
- type PostDescriptionReq
- type PostFutureBoxReq
- type PostLockBoxReq
Constants ¶
View Source
const ( RestAddress = "address" RestStartId = "start_id" RestLimit = "limit" )
View Source
const ( ID = "id" Feature = "feature" AccAddress = "accAddress" From = "from" FreezeType = "freeze-type" EndTime = "end-time" Name = "name" Amount = "amount" To = "to" )
Variables ¶
This section is empty.
Functions ¶
func BoxListHandlerFn ¶
func BoxListHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
func BoxQueryHandlerFn ¶
func BoxQueryHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
func BoxQueryParamsHandlerFn ¶
func BoxQueryParamsHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
func BoxSearchHandlerFn ¶
func BoxSearchHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
func PostDepositBoxCreateHandlerFn ¶
func PostDepositBoxCreateHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
func PostDescribeHandlerFn ¶
func PostDescribeHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
func PostDisableFeatureHandlerFn ¶
func PostDisableFeatureHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
func PostFutureBoxCreateHandlerFn ¶
func PostFutureBoxCreateHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
func PostInjectHandlerFn ¶
func PostInjectHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string, operation string) http.HandlerFunc
func PostInterestHandlerFn ¶
func PostInterestHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, operation string) http.HandlerFunc
func PostLockBoxCreateHandlerFn ¶
func PostLockBoxCreateHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
func PostWithdrawHandlerFn ¶
func PostWithdrawHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext, boxType string) http.HandlerFunc
Types ¶
type PostBoxBaseReq ¶
type PostDepositBoxReq ¶
type PostDepositBoxReq struct { BaseReq rest.BaseReq `json:"base_req"` params.BoxDepositParams `json:"box"` }
type PostDescriptionReq ¶
type PostFutureBoxReq ¶
type PostFutureBoxReq struct { BaseReq rest.BaseReq `json:"base_req"` params.BoxFutureParams `json:"box"` }
type PostLockBoxReq ¶
type PostLockBoxReq struct { BaseReq rest.BaseReq `json:"base_req"` params.BoxLockParams `json:"box"` }
Click to show internal directories.
Click to hide internal directories.