Update in the documentation
This commit is contained in:
parent
3500e0f4aa
commit
d2a064e390
|
@ -200,7 +200,7 @@ func (c *Client) Do(m *Msg, a string) {
|
|||
}
|
||||
|
||||
// ExchangeBuffer performs a synchronous query. It sends the buffer m to the
|
||||
// address (net.Addr?) contained in a
|
||||
// address contained in a.
|
||||
func (c *Client) ExchangeBuffer(inbuf []byte, a string, outbuf []byte) (n int, err error) {
|
||||
w := new(reply)
|
||||
w.client = c
|
||||
|
|
2
dns.go
2
dns.go
|
@ -154,7 +154,7 @@ func (s RRset) Ok() bool {
|
|||
type Exchange struct {
|
||||
Request *Msg // The question sent.
|
||||
Reply *Msg // The answer to the question that was sent.
|
||||
Error error // If something when wrong, this contains the error.
|
||||
Error error // If something went wrong, this contains the error.
|
||||
}
|
||||
|
||||
// DNS resource records.
|
||||
|
|
Loading…
Reference in New Issue