beacon

package
v1.11.9-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Beacon

type Beacon interface {
	ID() ids.NodeID
	IP() netip.AddrPort
}

func New

func New(id ids.NodeID, ip netip.AddrPort) Beacon

type Set

type Set interface {
	Add(Beacon) error

	RemoveByID(ids.NodeID) error
	RemoveByIP(netip.AddrPort) error

	Len() int

	IDsArg() string
	IPsArg() string
}

func NewSet

func NewSet() Set

Jump to

Keyboard shortcuts

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