mirror of
https://github.com/miekg/dns.git
synced 2025-10-19 05:41:01 +02:00
Addr is not needed in the Client struct
This commit is contained in:
parent
2b97b4c7d8
commit
7033f6abbe
@ -116,7 +116,6 @@ func (mux *QueryMux) QueryDNS(w RequestWriter, r *Msg) {
|
|||||||
// TODO add: LocalAddr
|
// TODO add: LocalAddr
|
||||||
type Client struct {
|
type Client struct {
|
||||||
Net string // if "tcp" a TCP query will be initiated, otherwise an UDP one
|
Net string // if "tcp" a TCP query will be initiated, otherwise an UDP one
|
||||||
Addr string // address to call
|
|
||||||
Attempts int // number of attempts
|
Attempts int // number of attempts
|
||||||
Retry bool // retry with TCP
|
Retry bool // retry with TCP
|
||||||
ChannelQuery chan *Request // read DNS request from this channel
|
ChannelQuery chan *Request // read DNS request from this channel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user