beacon

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 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