group

package
v0.6.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 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