Help us shape the future of Go! Take the 2026 Go Developer Survey

beacon

package
v1.10.21 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

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() ips.IPPort
}

func New

func New(id ids.NodeID, ip ips.IPPort) Beacon

type Set

type Set interface {
	Add(Beacon) error

	RemoveByID(ids.NodeID) error
	RemoveByIP(ips.IPPort) 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