typos
This commit is contained in:
parent
b0a9805be9
commit
a7ac103a20
|
@ -3,7 +3,8 @@
|
|||
Completely usable DNS library. Most widely used Resource Records are
|
||||
supported. DNSSEC types too.
|
||||
EDNS0 is (see edns.go), UDP/TCP queries, TSIG, AXFR (and IXFR probably)
|
||||
too. Both client and server side programming is supported.
|
||||
too. Both client and server side programming is supported. Asynchronous
|
||||
client queries are also supported.
|
||||
|
||||
Sample programs can be found in the `_examples` directory. They can
|
||||
be build with: `make examples` (after the dns package has been installed)
|
||||
|
|
|
@ -179,7 +179,7 @@ func (w *reply) Write(m *Msg) {
|
|||
w.Client().ChannelReply <- []*Msg{w.req, m}
|
||||
}
|
||||
|
||||
// Do performs an async query. The result is returned on the
|
||||
// Do performs an asynchronous query. The result is returned on the
|
||||
// channel set in the c.
|
||||
func (c *Client) Do(m *Msg, a string) {
|
||||
if c.ChannelQuery == nil {
|
||||
|
@ -189,7 +189,7 @@ func (c *Client) Do(m *Msg, a string) {
|
|||
}
|
||||
}
|
||||
|
||||
// Perform an synchronize query. Send the message m to the address
|
||||
// Perform an synchronous query. Send the message m to the address
|
||||
// contained in a
|
||||
func (c *Client) Exchange(m *Msg, a string) *Msg {
|
||||
w := new(reply)
|
||||
|
|
Loading…
Reference in New Issue