Documentation ¶
Index ¶
- func QueryReputationRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, kafkaBool bool, ...)
- func SubmitBuyerFeedbackRequestHandler(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- func SubmitSellerFeedbackRequestHandler(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
- type SubmitBuyerFeedbackReq
- type SubmitSellerFeedbackReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryReputationRequestHandlerFn ¶
func QueryReputationRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, kafkaBool bool, kafkaState kafka.KafkaState)
func SubmitBuyerFeedbackRequestHandler ¶
func SubmitBuyerFeedbackRequestHandler(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
func SubmitSellerFeedbackRequestHandler ¶
func SubmitSellerFeedbackRequestHandler(cliCtx context.CLIContext, kafkaBool bool, kafkaState kafka.KafkaState) http.HandlerFunc
Types ¶
type SubmitBuyerFeedbackReq ¶
type SubmitBuyerFeedbackReq 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"` Rating int64 `json:"rating" valid:"required~Enter the Rating,matches(^[1-9][0-9]?$|^100$)~invalid Rating"` Password string `json:"password" valid:"required~Enter the Password"` Mode string `json:"mode"` }
type SubmitSellerFeedbackReq ¶
type SubmitSellerFeedbackReq 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"` Rating int64 `json:"rating" valid:"required~Enter the Rating,matches(^[1-9][0-9]?$|^100$)~invalid Rating"` Password string `json:"password" valid:"required~Enter the Password"` Mode string `json:"mode"` }
Click to show internal directories.
Click to hide internal directories.