# Functions

GetPackageID returns the package ID with the label and hash of the chaincode install package.
No description provided by the author
NewGateway creates a new Gateway instance.
NewPeer creates a new Peer instance.
PackageCCAAS requires that you start a container by yourself.
No description provided by the author
ParseChaincodePackage parses a set of bytes as a chaincode package and returns the parsed package as a metadata struct and a code package nolint:gocognit,gocyclo.
SignaturePolicyEnvelopeToString parse a SignaturePolicyEnvelope to human readable expression the returned expression is GATE(P[, P]) where: - GATE is either "and" or "or" or "outof" - P is either a principal or another nested call to GATE A principal is defined as: # ORG.ROLE where: - ORG is a string (representing the MSP identifier) - ROLE takes the value of any of the RoleXXX constants representing the required role.
ValidateLabel return an error if the provided label contains any invalid characters, as determined by LabelRegexp.

# Structs

ChaincodePackageMetadata contains the information necessary to understand the embedded code package.
Connection setting used in connection.json.
Definition of a chaincode.
Gateway peer belonging to a specific organization to which you want to target requests.
Metadata as metadata.json.
Peer in a Fabric network.