Versions in this module Expand all Collapse all v1 v1.2.0 Aug 30, 2023 Changes in this version + func PeersToTxnProcessors(peers []fab.Peer) []fab.ProposalProcessor + type Option func(*Peer) error + func FromPeerConfig(peerCfg *fab.NetworkPeer) Option + func WithInsecure() Option + func WithMSPID(mspID string) Option + func WithPeerProcessor(processor fab.ProposalProcessor) Option + func WithServerName(serverName string) Option + func WithTLSCert(certificate *x509.Certificate) Option + func WithURL(url string) Option + type Peer struct + func New(config fab.EndpointConfig, opts ...Option) (*Peer, error) + func (p *Peer) MSPID() string + func (p *Peer) ProcessTransactionProposal(ctx reqContext.Context, proposal fab.ProcessProposalRequest) (*fab.TransactionProposalResponse, error) + func (p *Peer) Properties() fab.Properties + func (p *Peer) String() string + func (p *Peer) URL() string