beacon

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: BSD-3-Clause Imports: 5 Imported by: 2

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.ShortID
	IP() utils.IPDesc
}

func New

func New(id ids.ShortID, ip utils.IPDesc) Beacon

type Set

type Set interface {
	Add(Beacon) error

	RemoveByID(ids.ShortID) error
	RemoveByIP(utils.IPDesc) 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