avahi

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

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

func NewPublisher

func NewPublisher() (*Publisher, error)

NewPublisher creates a new service for Publisher.

func (*Publisher) Close

func (p *Publisher) Close()

Close associated resources.

func (*Publisher) Fqdn

func (p *Publisher) Fqdn() string

Fqdn returns the fully qualified domain name from Avahi.

func (*Publisher) PublishCNAMES

func (p *Publisher) PublishCNAMES(cnames []string, ttl uint32) error

PublishCNAMES send via Avahi-daemon CNAME records with the provided TTL.

Jump to

Keyboard shortcuts

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