package
1.0.8
Repository: https://github.com/dms3-p2p/go-p2p-peer.git
Documentation: pkg.go.dev

# Functions

NewChanQueue creates a ChanQueue by wrapping pq.
NewXORDistancePQ returns a PeerQueue which maintains its peers sorted in terms of their distances to each other in an XORKeySpace (i.e.

# Structs

ChanQueue makes any PeerQueue synchronizable through channels.

# Interfaces

PeerQueue maintains a set of peers ordered according to a metric.