Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
func Cmd(cf *ChaincodeCmdFactory) *cobra.Command
Cmd returns the cobra command for Chaincode
Types ¶
type ChaincodeCmdFactory ¶
type ChaincodeCmdFactory struct {
EndorserClient pb.EndorserClient
Signer msp.SigningIdentity
BroadcastClient common.BroadcastClient
}
ChaincodeCmdFactory holds the clients used by ChaincodeCmd
func InitCmdFactory ¶
func InitCmdFactory() (*ChaincodeCmdFactory, error)
InitCmdFactory init the ChaincodeCmdFactory with default clients
Click to show internal directories.
Click to hide internal directories.