Documentation
¶
Index ¶
- func BuyerExecuteOrderRequestHandlerFn(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func DefineACLHandler(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func DefineOrganizationHandler(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func DefineZoneHandler(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func GetReqACLTxns(DefineACL DefineACLReq) acl.ACL
- func IssueAssetHandlerFunction(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func IssueFiatHandlerFunction(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func QueryAssetHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func QueryBalancesRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func QueryFiatHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func RedeemAssetHandlerFunction(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func RedeemFiatHandlerFunction(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, kafkaBool bool, ...)
- func ReleaseAssetHandlerFunction(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func SellerExecuteOrderRequestHandlerFn(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func SendAssetRequestHandlerFn(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func SendFiatRequestHandlerFn(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func SendRequestHandlerFn(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- type BuyerExecuteOrderReq
- type DefineACLReq
- type DefineOrganizationReq
- type DefineZoneReq
- type IssueAssetReq
- type IssueFiatReq
- type RedeemAssetReq
- type RedeemFiatReq
- type ReleaseAssetReq
- type SellerExecuteOrderReq
- type SendAssetReq
- type SendFiatReq
- type SendReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuyerExecuteOrderRequestHandlerFn ¶
func BuyerExecuteOrderRequestHandlerFn(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func DefineACLHandler ¶
func DefineACLHandler(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func DefineOrganizationHandler ¶
func DefineOrganizationHandler(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func DefineZoneHandler ¶
func DefineZoneHandler(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func GetReqACLTxns ¶
func GetReqACLTxns(DefineACL DefineACLReq) acl.ACL
func IssueAssetHandlerFunction ¶
func IssueAssetHandlerFunction(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func IssueFiatHandlerFunction ¶
func IssueFiatHandlerFunction(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func QueryAssetHandlerFn ¶
func QueryAssetHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func QueryBalancesRequestHandlerFn ¶
func QueryBalancesRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
query accountREST Handler
func QueryFiatHandlerFn ¶
func QueryFiatHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
QueryFiatHandlerFn :
func RedeemAssetHandlerFunction ¶
func RedeemAssetHandlerFunction(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func RedeemFiatHandlerFunction ¶
func RedeemFiatHandlerFunction(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, kafkaBool bool, kafkaState kafka.KafkaState)
func ReleaseAssetHandlerFunction ¶
func ReleaseAssetHandlerFunction(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func SellerExecuteOrderRequestHandlerFn ¶
func SellerExecuteOrderRequestHandlerFn(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func SendAssetRequestHandlerFn ¶
func SendAssetRequestHandlerFn(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func SendFiatRequestHandlerFn ¶
func SendFiatRequestHandlerFn(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func SendRequestHandlerFn ¶
func SendRequestHandlerFn(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
Types ¶
type BuyerExecuteOrderReq ¶
type BuyerExecuteOrderReq struct {
BaseReq rest.BaseReq `json:"base_req"`
BuyerAddress string `json:"buyerAddress" valid:"required~Enter the BuyerAddress,matches(^commit[a-z0-9]{39}$)~BuyerAddress is Invalid"`
SellerAddress string `json:"sellerAddress" valid:"required~Enter the BuyerAddress,matches(^commit[a-z0-9]{39}$)~BuyerAddress is Invalid"`
PegHash string `json:"pegHash" valid:"required~Enter the PegHash,matches(^[0-9]+$)~Invalid PegHash,length(2|40)~PegHash length between 2-40"`
FiatProofHash string `` /* 171-byte string literal not displayed */
Password string `json:"password" valid:"required~Enter the Password"`
Mode string `json:"mode"`
}
type DefineACLReq ¶
type DefineACLReq struct {
BaseReq rest.BaseReq `json:"base_req"`
ACLAddress string `json:"aclAddress" valid:"required~Enter the aclAddress,matches(^commit[a-z0-9]{39}$)~aclAddress is Invalid"`
OrganizationID string `` /* 164-byte string literal not displayed */
ZoneID string `` /* 132-byte string literal not displayed */
IssueAsset string `json:"issueAsset" valid:"required~Enter the issueAsset, matches(^(true|TRUE|True|false|FALSE|False)*$)~Invalid issueAsset"`
IssueFiat string `json:"issueFiat" valid:"required~Enter the issueFiat, matches(^(true|TRUE|True|false|FALSE|False)*$)~Invalid issueFiat"`
SendAsset string `json:"sendAsset" valid:"required~Enter the sendAsset, matches(^(true|TRUE|True|false|FALSE|False)*$)~Invalid sendAsset"`
SendFiat string `json:"sendFiat" valid:"required~Enter the sendFiat, matches(^(true|TRUE|True|false|FALSE|False)*$)~Invalid issueFiat"`
BuyerExecuteOrder string `` /* 143-byte string literal not displayed */
SellerExecuteOrder string `` /* 130-byte string literal not displayed */
ChangeBuyerBid string `` /* 134-byte string literal not displayed */
ChangeSellerBid string `` /* 137-byte string literal not displayed */
ConfirmBuyerBid string `` /* 132-byte string literal not displayed */
ConfirmSellerBid string `` /* 140-byte string literal not displayed */
Negotiation string `json:"negotiation" valid:"required~Enter the negotiation, matches(^(true|TRUE|True|false|FALSE|False)*$)~Invalid negotiation"`
RedeemAsset string `json:"redeemAsset" valid:"required~Enter the redeemAsset, matches(^(true|TRUE|True|false|FALSE|False)*$)~Invalid redeemAsset"`
RedeemFiat string `json:"redeemFiat" valid:"required~Enter the redeemFiat, matches(^(true|TRUE|True|false|FALSE|False)*$)~Invalid redeemFiat"`
ReleaseAsset string `` /* 128-byte string literal not displayed */
Password string `json:"password" valid:"required~Enter the password"`
Mode string `json:"mode"`
}
type DefineOrganizationReq ¶
type DefineOrganizationReq struct {
BaseReq rest.BaseReq `json:"base_req"`
To string `json:"to" valid:"required~Enter the to Address,matches(^commit[a-z0-9]{39}$)~to Address is Invalid"`
OrganizationID string `` /* 164-byte string literal not displayed */
ZoneID string `` /* 132-byte string literal not displayed */
Password string `json:"password" valid:"required~Enter the password"`
Mode string `json:"mode"`
}
type DefineZoneReq ¶
type DefineZoneReq struct {
BaseReq rest.BaseReq `json:"base_req"`
To string `json:"to" valid:"required~Enter the toAddress,matches(^commit[a-z0-9]{39}$)~toAddress is Invalid"`
ZoneID string `` /* 132-byte string literal not displayed */
Password string `json:"password" valid:"required~Enter the password"`
Mode string `json:"mode"`
}
type IssueAssetReq ¶
type IssueAssetReq struct {
BaseReq rest.BaseReq `json:"base_req"`
To string `json:"to" valid:"matches(^commit[a-z0-9]{39}$)~ToAddress is Invalid"`
DocumentHash string `` /* 149-byte string literal not displayed */
AssetType string `json:"assetType" valid:"required~Enter the assetType,matches(^[A-Za-z1-9 _-]*$)~Invalid AssetType"`
AssetPrice int64 `json:"assetPrice" valid:"required~Enter the assetPrice,matches(^[1-9]{1}[0-9]*$)~Invalid assetPrice"`
QuantityUnit string `json:"quantityUnit" valid:"required~Enter the QuantityUnit,matches(^[A-Za-z]*$)~Invalid QuantityUnit"`
AssetQuantity int64 `json:"assetQuantity" valid:"required~Enter the AssetQuantity,matches(^[1-9]{1}[0-9]*$)~Invalid AssetQuantity"`
Moderated bool `json:"moderated"`
TakerAddress string `json:"takerAddress"`
Password string `json:"password" valid:"required~Enter the Password"`
Mode string `json:"mode"`
}
type IssueFiatReq ¶
type IssueFiatReq struct {
BaseReq rest.BaseReq `json:"base_req"`
To string `json:"to" valid:"required~Enter the ToAddress,matches(^commit[a-z0-9]{39}$)~ToAddress is Invalid"`
TransactionID string `` /* 164-byte string literal not displayed */
TransactionAmount int64 `json:"transactionAmount" valid:"required~Enter the TransactionAmount,matches(^[1-9]{1}[0-9]*$)~Invalid TransactionAmount"`
Password string `json:"password" valid:"required~Enter the Password"`
Mode string `json:"mode"`
}
type RedeemAssetReq ¶
type RedeemAssetReq struct {
BaseReq rest.BaseReq `json:"base_req"`
To string `json:"to" valid:"required~Enter the ToAddress,matches(^commit[a-z0-9]{39}$)~ToAddress is Invalid"`
PegHash string `json:"pegHash" valid:"required~Enter the PegHash,matches(^[0-9]+$)~Invalid PegHash,length(2|40)~PegHash length between 2-40"`
Password string `json:"password" valid:"required~Enter the Password"`
Mode string `json:"mode"`
}
type RedeemFiatReq ¶
type RedeemFiatReq struct {
BaseReq rest.BaseReq `json:"base_req"`
To string `json:"to" valid:"required~Enter the ToAddress,matches(^commit[a-z0-9]{39}$)~ToAddress is Invalid"`
RedeemAmount int64 `json:"redeemAmount" valid:"required~Enter the Valid Amount,matches(^[1-9]{1}[0-9]*$)~Invalid Amount"`
Password string `json:"password" valid:"required~Enter the Password"`
Mode string `json:"mode"`
}
type ReleaseAssetReq ¶
type ReleaseAssetReq struct {
BaseReq rest.BaseReq `json:"base_req"`
To string `json:"to" valid:"required~Enter the ToAddress,matches(^commit[a-z0-9]{39}$)~ToAddress is Invalid"`
PegHash string `json:"pegHash" valid:"required~Enter the PegHash,matches(^[0-9]+$)~Invalid PegHash,length(2|40)~PegHash length between 2-40"`
Password string `json:"password" valid:"required~Enter the Password"`
Mode string `json:"mode"`
}
type SellerExecuteOrderReq ¶
type SellerExecuteOrderReq struct {
BaseReq rest.BaseReq `json:"base_req"`
BuyerAddress string `json:"buyerAddress" valid:"required~Enter the BuyerAddress,matches(^commit[a-z0-9]{39}$)~BuyerAddress is Invalid"`
SellerAddress string `json:"sellerAddress" valid:"required~Enter the SellerAddress,matches(^commit[a-z0-9]{39}$)~SellerAddress is Invalid"`
AWBProofHash string `` /* 167-byte string literal not displayed */
PegHash string `json:"pegHash" valid:"required~Enter the PegHash,matches(^[0-9]+$)~Invalid PegHash,length(2|40)~PegHash length between 2-40"`
Password string `json:"password" valid:"required~Enter the Password"`
Mode string `json:"mode"`
}
type SendAssetReq ¶
type SendAssetReq struct {
BaseReq rest.BaseReq `json:"base_req"`
To string `json:"to" valid:"required~Enter the ToAddress,matches(^commit[a-z0-9]{39}$)~ToAddress is Invalid"`
PegHash string `json:"pegHash" valid:"required~Enter the PegHash,matches(^[0-9]+$)~Invalid PegHash,length(2|40)~PegHash length between 2-40"`
Password string `json:"password" valid:"required~Enter the Password"`
Mode string `json:"mode"`
}
type SendFiatReq ¶
type SendFiatReq struct {
BaseReq rest.BaseReq `json:"base_req"`
To string `json:"to" valid:"required~Enter the ToAddress,matches(^commit[a-z0-9]{39}$)~ToAddress is Invalid"`
PegHash string `json:"pegHash" valid:"required~Enter the PegHash,matches(^[0-9]+$)~Invalid PegHash,length(2|40)~PegHash length between 2-40"`
Amount int64 `json:"amount" valid:"required~Enter the Valid Amount,matches(^[1-9]{1}[0-9]*$)~Invalid Amount"`
Password string `json:"password" valid:"required~Enter the Password"`
Mode string `json:"mode"`
}
Click to show internal directories.
Click to hide internal directories.