Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrParseIP = errors.New("can't get myip.") MyIP string )
View Source
var (
DEBUGDNS = true
)
Functions ¶
func TranslateRRs ¶
Types ¶
type DNSMsg ¶
type DNSMsg struct {
Status int32 `json:"Status,omitempty"`
TC bool `json:"TC,omitempty"`
RD bool `json:"RD,omitempty"`
RA bool `json:"RA,omitempty"`
AD bool `json:"AD,omitempty"`
CD bool `json:"CD,omitempty"`
Question []DNSQuestion `json:"Question,omitempty"`
Answer []DNSRR `json:"Answer,omitempty"`
Authority []DNSRR `json:"Authority,omitempty"`
Additional []DNSRR `json:"Additional,omitempty"`
Edns_client_subnet string `json:"edns_client_subnet,omitempty"`
Comment string `json:"Comment,omitempty"`
}
type DNSQuestion ¶
type DNSRR ¶
type HttpsDns ¶
type HttpsDns struct {
Resolver
// contains filtered or unexported fields
}
type TaobaoResp ¶
type WrapExchanger ¶
type WrapExchanger struct {
Exchanger
}
Click to show internal directories.
Click to hide internal directories.