Documentation
¶
Overview ¶
Package `mdns` implements a multicast DNS client and server to be used to discover and register services over local networks
Index ¶
Constants ¶
View Source
const ( DefaultName = "mdns" DefaultLabel = "local" )
Variables ¶
This section is empty.
Functions ¶
func NewWithPlugin ¶ added in v1.1.3
Create a new logger task with provider of other tasks
Types ¶
type Message ¶ added in v1.1.3
type Message interface {
PTR() []Ptr // Return PTR records
A() []net.IP // Return A records
TXT() []string // Return TXT records
SRV() []Srv // Return SRV records
Bytes() ([]byte, error) // Return the packed message
IsAnswer() bool // Return true when the message is an answer
IfIndex() int // Interface to send and receive on, or nil
}
A sent or received message
func MessageFromPacket ¶ added in v1.1.3
Create a message from a received packet, with a sender and the interface that the message was received on
Click to show internal directories.
Click to hide internal directories.