Update example in README
This commit is contained in:
parent
2f2002e875
commit
0ae91b08c8
@ -16,7 +16,6 @@ Using the library is very simple, here is an example of publishing a service ent
|
|||||||
service := &mdns.MDNSService{
|
service := &mdns.MDNSService{
|
||||||
Instance: host,
|
Instance: host,
|
||||||
Service: "_foobar._tcp",
|
Service: "_foobar._tcp",
|
||||||
Addr: []byte{127,0,0,1},
|
|
||||||
Port: 8000,
|
Port: 8000,
|
||||||
Info: "My awesome service",
|
Info: "My awesome service",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user