Documentation ¶
Overview ¶
Package group implements a generic peering.GroupProvider.
Index ¶
Constants ¶
View Source
const NotInGroup uint16 = 0xFFFF
Variables ¶
This section is empty.
Functions ¶
func NewPeeringGroupProvider ¶
func NewPeeringGroupProvider(netProvider peering.NetworkProvider, peeringID peering.PeeringID, nodes []peering.PeerSender, log *logger.Logger) (peering.GroupProvider, error)
NewPeeringGroupProvider creates a generic peering group. That should be used as a helper for peering implementations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.