package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev

# Functions

AnyMatch filters out peers that don't match any of the given filters.
CombineRoutingFilters returns the logical AND of given routing filters.
First returns the first peer that matches the given filter.
SelectPeers returns a slice of at most k peers randomly chosen from peerPool that match routingFilter filter.

# Variables

SelectAllPolicy selects all members given.
SelectNonePolicy selects an empty set of members.

# Type aliases

RoutingFilter defines a predicate on a NetworkMember It is used to assert whether a given NetworkMember should be selected for be given a message.