remove these docs from here
This commit is contained in:
parent
6b28ef1353
commit
d0e4f0409a
14
dns.go
14
dns.go
|
@ -60,19 +60,7 @@
|
|||
// in, err := c.Exchange(m1, "127.0.0.1:53")
|
||||
//
|
||||
// An asynchronous query is also possible, setting up is more elaborate then
|
||||
// a synchronous query. The Basic use pattern is:
|
||||
//
|
||||
// dns.HandleQuery(".", handler)
|
||||
// dns.ListenAndQuery(nil, nil)
|
||||
// c.Do(m1, "127.0.0.1:53")
|
||||
// // Do something else
|
||||
// r := <- DefaultReplyChan
|
||||
// // r is of type Exchange:
|
||||
// // * r.Reply is the answer
|
||||
// // * r.Request is the original request
|
||||
// // * r.Rtt is the round trip time
|
||||
// // * r.RemoteAddr is the net.Addr were the request was sent to
|
||||
// // * r.Error is the error (if any)
|
||||
// a synchronous query.
|
||||
package dns
|
||||
|
||||
import (
|
||||
|
|
Loading…
Reference in New Issue