mdns

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package mdns is a multicast dns registry

Index

Constants

View Source
const Name = "mdns"

Variables

This section is empty.

Functions

func New

func New(cfg Cfg, log *logging.Logger) registry.Registry

Types

type Cfg

type Cfg struct {
	TTL time.Duration `json:"ttl"`
}

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func (*Watcher) Next

func (m *Watcher) Next() (*registry.Result, error)

func (*Watcher) Stop

func (m *Watcher) Stop() error

Jump to

Keyboard shortcuts

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