package
0.0.0-20180419104149-40f2d1d03a96
Repository: https://github.com/tjfoc/hyperledger-fabric-gm.git
Documentation: pkg.go.dev

# Functions

CheckLogLevel checks that a given log level string is valid.
GetAdminClient returns a new admin client connection for this peer.
GetBroadcastClient creates a simple instance of the BroadcastClient interface.
GetDefaultSigner return a default Signer(Default/PERR) for cli.
GetEndorserClient returns a new endorser client connection for this peer.
No description provided by the author
No description provided by the author
GetMockEndorserClient return a endorser client return specified ProposalResponse and err(nil or error).
GetOrdererEndpointOfChain returns orderer endpoints of given chain.
InitConfig initializes viper config.
InitCrypto initializes crypto for this peer.
SetLogLevelFromViper sets the log level for 'module' logger to the value in core.yaml.

# Constants

UndefinedParamValue defines what undefined parameters in the command line will initialise to.

# Variables

GetBroadcastClientFnc returns an instance of the BroadcastClient interface by default it is set to GetBroadcastClient function.
GetDefaultSignerFnc is a function that returns a default Signer(Default/PERR) by default it is set to GetDefaultSigner function.
GetEndorserClientFnc is a function that returns a new endorser client connection, by default it is set to GetEndorserClient function.
GetOrdererEndpointOfChainFnc returns orderer endpoints of given chain by default it is set to GetOrdererEndpointOfChain function.

# Interfaces

No description provided by the author