beacon

package
v1.10.14-rc.3 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: BSD-3-Clause Imports: 4 Imported by: 1

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