Versions in this module Expand all Collapse all v1 v1.5.6 Oct 3, 2021 Changes in this version + func ChaincodeInvokeOrQuery(spec *pb.ChaincodeSpec, cID string, txID string, invoke bool, ...) (*pb.ProposalResponse, error) + func Cmd(cf *ChaincodeCmdFactory, cryptoProvider bccsp.BCCSP) *cobra.Command + func GetCollectionConfigFromFile(ccFile string) (*pb.CollectionConfigPackage, []byte, error) + type ChaincodeCmdFactory struct + BroadcastClient common.BroadcastClient + Certificate tls.Certificate + DeliverClients []pb.DeliverClient + EndorserClients []pb.EndorserClient + Signer identity.SignerSerializer + func InitCmdFactory(cmdName string, isEndorserRequired, isOrdererRequired bool, ...) (*ChaincodeCmdFactory, error) + type DeliverClient struct + Address string + Client pb.DeliverClient + Connection pb.Deliver_DeliverClient + type DeliverGroup struct + Certificate tls.Certificate + ChannelID string + Clients []*DeliverClient + Error error + Signer identity.SignerSerializer + TxID string + func NewDeliverGroup(deliverClients []pb.DeliverClient, peerAddresses []string, ...) *DeliverGroup + func (dg *DeliverGroup) ClientConnect(ctx context.Context, dc *DeliverClient) + func (dg *DeliverGroup) ClientWait(dc *DeliverClient) + func (dg *DeliverGroup) Connect(ctx context.Context) error + func (dg *DeliverGroup) Wait(ctx context.Context) error + func (dg *DeliverGroup) WaitForWG(readyCh chan struct{}) + type InstallInput struct + Language string + Name string + PackageFile string + Path string + Version string + type Installer struct + Command *cobra.Command + CryptoProvider bccsp.BCCSP + EndorserClients []pb.EndorserClient + Input *InstallInput + Signer identity.SignerSerializer + type PackageInput struct + CreateSignedCCDepSpec bool + InstantiationPolicy string + Name string + OutputFile string + Path string + SignCCDepSpec bool + Type string + Version string + type Packager struct + CDSFactory ccDepSpecFactory + ChaincodeCmdFactory *ChaincodeCmdFactory + Command *cobra.Command + CryptoProvider bccsp.BCCSP + Input *PackageInput