Documentation ¶
Index ¶
Constants ¶
View Source
const ( PEERS_IN_CHANNEL = "channels.%s.peers" // defined in sdk-go config yaml file CLIENT_ORGANIZATION = "client.organization" // defined in fabric-sdk-go config yaml // cli parameters CC_NAME_PREFIX = "chaincodeNamePrefix" CHAN_NAME_PREFIX = "channelNamePrefix" PREFIX_OFFSET = "prefixOffset" CHAN_NAME_LIST = "channelNameList" CC_VERSION = "chaincodeVersion" CC_PATH = "path" PEERS = "peers" CHANNEL_NAME = "channelName" CC_NAME = "chaincodeName" QUERY_ONLY = "queryOnly" CC_PARAMS = "chaincodeParams" CC_STATIC_TRANSIENTMAP = "staticTransientMap" CC_DYNAMIC_TRANSIENTMAP_K = "dynamicTransientMapKs" CC_DYNAMIC_TRANSIENTMAP_V = "dynamicTransientMapVs" THREADS = "threads" POLICY_STR = "policyStr" COLLECTION_CONFIG_PATH = "collectionsConfigPath" FABRIC_VERSION = "fabricVersion" PROMETHEUS_TARGET_URL = "prometheusTargetUrl" // keys in connection profile CP_PEERS = "peers" CP_ORGS = "organizations" )
View Source
const CC_INSTALL = "chaincode.install"
View Source
const CC_INSTANTIATE = "chaincode.instantiate"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chaincode ¶
type Chaincode struct { *hfrdcommon.Base CollectionsConfig []*cb.CollectionConfig // Collections config used to instantiate pvt(private data) chaincode // contains filtered or unexported fields }
func (*Chaincode) InstallChaincode ¶
name: chaincode name version: chaincode version path: chaincode path: relative to GOPATH environment variable peer: on which peer to install the chaincode org: the Org MSP id to which the peer belongs to
Click to show internal directories.
Click to hide internal directories.