{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package channel\n\n## Constants\n\n```go\nconst (\n\tEndorserRequired       bool = true\n\tEndorserNotRequired    bool = false\n\tOrdererRequired        bool = true\n\tOrdererNotRequired     bool = false\n\tPeerDeliverRequired    bool = true\n\tPeerDeliverNotRequired bool = false\n)\n```\n\n## Functions\n\n```go\nfunc AddFlags(cmd *cobra.Command)\n```\nAddFlags adds flags for create and join\n\n```go\nfunc Cmd(cf *ChannelCmdFactory) *cobra.Command\n```\nCmd returns the cobra command for Node\n\n## Types\n\n```go\ntype BroadcastClientFactory func() (common.BroadcastClient, error)\n```\n\n```go\ntype ChannelCmdFactory struct {\n\tEndorserClient   pb.EndorserClient\n\tSigner           msp.SigningIdentity\n\tBroadcastClient  common.BroadcastClient\n\tDeliverClient    deliverClientIntf\n\tBroadcastFactory BroadcastClientFactory\n}\n```\nChannelCmdFactory holds the clients used by ChannelCmdFactory\n\n```go\nfunc InitCmdFactory(isEndorserRequired, isPeerDeliverRequired, isOrdererRequired bool) (*ChannelCmdFactory, error)\n```\nInitCmdFactory init the ChannelCmdFactory with clients to endorser and orderer according to params\n\n```go\ntype ConfigTxFileNotFound string\n```\nConfigTxFileNotFound channel create configuration tx file not found\n\n```go\nfunc (e ConfigTxFileNotFound) Error() string\n```\n\n```go\ntype GBFileNotFoundErr string\n```\nGBFileNotFoundErr genesis block file not found\n\n```go\nfunc (e GBFileNotFoundErr) Error() string\n```\n\n```go\ntype InvalidCreateTx string\n```\nInvalidCreateTx invalid channel create transaction\n\n```go\nfunc (e InvalidCreateTx) Error() string\n```\n\n```go\ntype ProposalFailedErr string\n```\nProposalFailedErr proposal failed\n\n```go\nfunc (e ProposalFailedErr) Error() string\n```\n\n","path":"github.com/eric-erki/https-hyperledger.org/peer/channel","name":"channel","synopsis":"","isRedistributable":true}
