Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Commit ¶
Commit @Router /fabric/transact/commit [post] @Produce json @Accept x-www-form-urlencoded @Param orderer formData string true "json data to specify orderer" @Param transaction formData string true "serialized signed proposalResponses as envelop protobuf with hex format" @Success 200 {object} model.TxResult
func CreateProposal ¶
CreateProposal @Router /fabric/create-proposal [post] @Produce json @Accept x-www-form-urlencoded @Param creator formData string true "Hex-encoded creator bytes" @Param channel formData string true "Fabric channel name" @Param chaincode formData string true "Fabric chaincode name" @Param args formData string true "Fabric chaincode calling args, string array as JSON" @Param transient formData string false "JSON format, like map[string]string" @Success 200 {object} model.CreateProposalResult
func CreateUnSignedTx ¶
func PingFabric ¶
PingFabric @Router /fabric/ping [post] @Produce text/plain @Accept x-www-form-urlencoded @Param address formData string true "endpoint like grpc(s)://\<fqdn\> or \<fqdn\>" @Param certificate formData string true "Certificate in PEM format. should be in hex format after translation to solve linebreak issue" @Param ssl-target-name-override formData string true "pseudo endpoint \<fqdn\>" @Success 200 {string} string pong @Failure 400 {string} string Bad request
func ProcessProposal ¶
ProcessProposal @Router /fabric/transact/process-proposal [post] @Produce json @Accept x-www-form-urlencoded @Param endorsers formData string true "json data to specify endorsers" @Param signed-proposal formData string true "Hex-encoded and serialized signed-proposal protobuf" @Param proposal formData string true "Hex-encoded and serialized proposal protobuf" @Success 200 {object} model.ProposalResponseResult
Types ¶
This section is empty.