Versions in this module Expand all Collapse all v1 v1.2.0 Aug 30, 2023 Changes in this version + type DiscoveryWrapper struct + func NewEndpointDiscoveryWrapper(ctx context.Client, channelID string, target fab.DiscoveryService, opts ...Opt) (*DiscoveryWrapper, error) + func (s *DiscoveryWrapper) GetPeers() ([]fab.Peer, error) + type EventEndpoint struct + Certificate *x509.Certificate + func FromPeerConfig(config fab.EndpointConfig, peer fab.Peer, peerCfg *fab.PeerConfig) *EventEndpoint + func (e *EventEndpoint) BlockHeight() uint64 + func (e *EventEndpoint) Opts() []options.Opt + type Opt func(p *DiscoveryWrapper) + func WithTargetFilter(filter fab.TargetFilter) Opt