group

package
v1.0.3-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL