Versions in this module Expand all Collapse all v1 v1.2.0 Aug 30, 2023 Changes in this version + func CcCalls(ccNames ...string) []*peer.ChaincodeCall + func CcInterests(invocationsChains ...[]*peer.ChaincodeCall) []*peer.ChaincodeInterest + func GetProperties(endpoint *discclient.Peer) fab.Properties + func NewIndifferentFilter() discclient.Filter + type Client interface + Send func(ctx context.Context, req *Request, targets ...fab.PeerConfig) (<-chan Response, error) + func New(ctx fabcontext.Client) (Client, error) + type MockDiscoverEndpointResponse struct + EndorsersErr error + Error error + PeerEndpoints []*mocks.MockDiscoveryPeerEndpoint + Target string + func (b *MockDiscoverEndpointResponse) Build() Response + type MockDiscoveryClient struct + func NewMockDiscoveryClient() *MockDiscoveryClient + func (m *MockDiscoveryClient) Send(ctx context.Context, req *Request, targets ...fab.PeerConfig) (<-chan Response, error) + func (m *MockDiscoveryClient) SetResponses(responses ...MockResponseBuilder) + type MockResponseBuilder interface + Build func() Response + type Request struct + func NewRequest() *Request + func (req *Request) AddConfigQuery() *Request + func (req *Request) AddEndorsersQuery(interests ...*peer.ChaincodeInterest) (*Request, error) + func (req *Request) AddLocalPeersQuery() *Request + func (req *Request) AddPeersQuery(invocationChain ...*peer.ChaincodeCall) *Request + func (req *Request) OfChannel(ch string) *Request + type Response interface + Error func() error + Target func() string