discovery

package
v0.0.0-...-81741d2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ReachService = "_reach._tcp"

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
}

func NewResolver

func NewResolver() *Resolver

func (*Resolver) Scan

func (r *Resolver) Scan(ctx context.Context, interval time.Duration) (chan Service, error)

type Service

type Service struct {
	Name   string
	Device string
	AddrV4 net.IP
	Port   int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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