Documentation ¶
Index ¶
- func QueryRequestByTxQuery(cliCtx context.CLIContext, queryRoute string, params types.QueryRequestParams) (request types.Request, err error)
- func QueryRequestContext(cliCtx context.CLIContext, queryRoute string, ...) (requestContext types.RequestContext, err error)
- func QueryRequestContextByTxQuery(cliCtx context.CLIContext, queryRoute string, ...) (requestContext types.RequestContext, err error)
- func QueryRequestsByBinding(cliCtx context.CLIContext, queryRoute string, serviceName string, ...) ([]types.Request, int64, error)
- func QueryRequestsByReqCtx(cliCtx context.CLIContext, queryRoute, reqCtxIDStr, batchCounterStr string) ([]types.Request, int64, error)
- func QueryResponseByTxQuery(cliCtx context.CLIContext, queryRoute string, params types.QueryResponseParams) (response types.Response, err error)
- type SchemaType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryRequestByTxQuery ¶
func QueryRequestByTxQuery(cliCtx context.CLIContext, queryRoute string, params types.QueryRequestParams) ( request types.Request, err error)
QueryRequestByTxQuery will query for a single request via a direct txs tags query.
func QueryRequestContext ¶
func QueryRequestContext(cliCtx context.CLIContext, queryRoute string, params types.QueryRequestContextParams) ( requestContext types.RequestContext, err error)
QueryRequestContext queries a single request context
func QueryRequestContextByTxQuery ¶
func QueryRequestContextByTxQuery(cliCtx context.CLIContext, queryRoute string, params types.QueryRequestContextParams) ( requestContext types.RequestContext, err error)
QueryRequestContextByTxQuery will query for a single request context via a direct txs tags query.
func QueryRequestsByBinding ¶
func QueryRequestsByBinding(cliCtx context.CLIContext, queryRoute string, serviceName string, provider sdk.AccAddress) ([]types.Request, int64, error)
QueryRequestsByBinding queries active requests by the service binding
func QueryRequestsByReqCtx ¶
func QueryRequestsByReqCtx(cliCtx context.CLIContext, queryRoute, reqCtxIDStr, batchCounterStr string) ([]types.Request, int64, error)
QueryRequestsByReqCtx queries active requests by the request context ID
func QueryResponseByTxQuery ¶
func QueryResponseByTxQuery(cliCtx context.CLIContext, queryRoute string, params types.QueryResponseParams) ( response types.Response, err error)
QueryResponseByTxQuery will query for a single request via a direct txs tags query.
Types ¶
type SchemaType ¶
type SchemaType string
SchemaType defines the schema type
func (SchemaType) MarshalJSON ¶
func (schema SchemaType) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON representation
func (SchemaType) MarshalYAML ¶
func (schema SchemaType) MarshalYAML() (interface{}, error)
MarshalYAML returns the YAML representation
func (*SchemaType) UnmarshalJSON ¶
func (schema *SchemaType) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals raw JSON bytes into a SchemaType.
Click to show internal directories.
Click to hide internal directories.