Documentation ¶
Index ¶
Constants ¶
View Source
const ( CODE_SUCCESS int = 0 CODE_ERROR_BODY int = 101 CODE_ERROR_MASHAL int = 102 CODE_ERROR_EXE int = 103 CODE_ERROR_CONFIG int = 103 MSG_SUCCESS string = "success" MSG_ERROR string = "error" )
View Source
const (
LOOP_COUNT int = 30
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiRet ¶
type ApiRet struct { Code int `json:"code"` //error code, 0 if success Message string `json:"message"` //description message Data interface{} `json:"data"` //return data in this member }
All interface of platformSrv return struct
type ClusterDelete ¶
type FabricCCCallPara ¶
type FabricCCQueryPara ¶
type FabricDeployCCPara ¶
type FabricDeployCCPara struct { BlockChainId string `json:"BlockChainId"` OrgName string `json:"OrgName"` ChannelId string `json:"ChannelId"` ChainCodeId string `json:"ChainCodeId"` ChainCodeVersion string `json:"ChainCodeVersion"` EndorsePolicy string `json:"EndorsePolicy,omitempty"` ChaincodePkg string `json:"ChaincodePkg,omitempty"` ChaincodeSeq string `json:"ChaincodeSeq,omitempty"` InitArgs []string `json:"InitArgs"` }
type FabricInstantialCCPara ¶
Click to show internal directories.
Click to hide internal directories.