mirror of
https://github.com/miekg/dns.git
synced 2025-10-17 21:01:00 +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
|
||||
type Client struct {
|
||||
Net string // if "tcp" a TCP query will be initiated, otherwise an UDP one
|
||||
Addr string // address to call
|
||||
Attempts int // number of attempts
|
||||
Retry bool // retry with TCP
|
||||
ChannelQuery chan *Request // read DNS request from this channel
|
||||
|
Loading…
x
Reference in New Issue
Block a user