group

package
v0.5.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 6 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