package
module
Version:
v0.0.0-...-b7f1c36
Opens a new window with list of versions in this module.
Published: Jan 9, 2014
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-mdns
feature
- discover service by multicast udp
- only discover function
usage
client := new(mdns.Client)
client.Discover("_airplay._tcp.local.", func(msg *dns.Msg) {
for _, rr := range msg.Extra {
switch rr := rr.(type) {
case *dns.A:
fmt.Println(rr.Header().Name, "=>", rr.A)
default:
}
}
})
see also
Documentation
¶
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.