channel

package
v1.0.0-preview Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2017 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(cmd *cobra.Command)

AddFlags adds flags for create and join

func Cmd

Cmd returns the cobra command for Node

Types

type ChannelCmdFactory

type ChannelCmdFactory struct {
	EndorserClient   pb.EndorserClient
	Signer           msp.SigningIdentity
	BroadcastClient  common.BroadcastClient
	DeliverClient    deliverClientIntf
	AnchorPeerParser *common.AnchorPeerParser
}

ChannelCmdFactory holds the clients used by ChannelCmdFactory

func InitCmdFactory

func InitCmdFactory(isOrdererRequired bool) (*ChannelCmdFactory, error)

InitCmdFactory init the ChannelCmdFactor with default clients

type GBFileNotFoundErr

type GBFileNotFoundErr string

GBFileNotFoundErr genesis block file not found

func (GBFileNotFoundErr) Error

func (e GBFileNotFoundErr) Error() string

type ProposalFailedErr

type ProposalFailedErr string

ProposalFailedErr proposal failed

func (ProposalFailedErr) Error

func (e ProposalFailedErr) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL