Versions in this module Expand all Collapse all v1 v1.2.0 Aug 30, 2023 Changes in this version + const AccessDenied + func WithErrorHandler(value fab.ErrorHandler) coptions.Opt + func WithRefreshInterval(value time.Duration) coptions.Opt + func WithResponseTimeout(value time.Duration) coptions.Opt + func WithRetryOpts(value retry.Opts) coptions.Opt + type DiscoveryClient interface + Send func(ctx context.Context, req *fabdiscovery.Request, targets ...fab.PeerConfig) (<-chan fabdiscovery.Response, error) + type DiscoveryError struct + func (e DiscoveryError) IsAccessDenied() bool + func (e DiscoveryError) IsTransient() bool + type Service struct + func New(ctx contextAPI.Client, channelID string, discovery fab.DiscoveryService, ...) (*Service, error) + func (s *Service) Close() + func (s *Service) GetEndorsersForChaincode(chaincodes []*fab.ChaincodeCall, opts ...coptions.Opt) ([]fab.Peer, error)