# Functions
NewFilter creates a Filter for Peer Diversity.
# Structs
CplDiversityStats contains the peer diversity stats for a Cpl.
Filter is a peer diversity filter that accepts or rejects peers based on the whitelisting rules configured AND the diversity policies defined by the implementation of the PeerIPGroupFilter interface passed to it.
PeerGroupInfo represents the grouping info for a Peer.
# Interfaces
PeerIPGroupFilter is the interface that must be implemented by callers who want to instantiate a `peerdiversity.Filter`.
# Type aliases
PeerIPGroupKey is a unique key that represents ONE of the IP Groups the peer belongs to.