Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChaincodeInvokeOrQuery ¶
func ChaincodeInvokeOrQuery( spec *pb.ChaincodeSpec, cID string, txID string, invoke bool, signer msp.SigningIdentity, certificate tls.Certificate, endorserClients []pb.EndorserClient, deliverClients []api.PeerDeliverClient, bc common.BroadcastClient, ) (*pb.ProposalResponse, error)
func Cmd ¶
func Cmd(cf *ChaincodeCmdFactory) *cobra.Command
Types ¶
type ChaincodeCmdFactory ¶
type ChaincodeCmdFactory struct { EndorserClients []pb.EndorserClient DeliverClients []api.PeerDeliverClient Certificate tls.Certificate Signer msp.SigningIdentity BroadcastClient common.BroadcastClient }
func InitCmdFactory ¶
func InitCmdFactory(cmdName string, isEndorserRequired, isOrdererRequired bool) (*ChaincodeCmdFactory, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.