Documentation
¶
Index ¶
- type CommonFields
- type DNS
- func (r *DNS) LookupAddr(addr string) *LookupAddrResponse
- func (r *DNS) LookupCNAME(host string) *LookupCNAMEResponse
- func (*DNS) LookupHost(host string) *LookupHostResponse
- func (r *DNS) LookupIP(network string, host string) *LookupIPResponse
- func (r *DNS) LookupIPAddr(host string) *LookupIPAddrResponse
- func (r *DNS) LookupMX(name string) *LookupMXResponse
- func (r *DNS) LookupNS(name string) *LookupNSResponse
- func (r *DNS) LookupNetIP(network string, host string) *LookupNetIPResponse
- func (r *DNS) LookupPort(network string, service string) *LookupPortResponse
- func (r *DNS) LookupSRV(service string, proto string, name string) *LookupSRVResponse
- func (r *DNS) LookupTXT(name string) *LookupTXTResponse
- type LookupAddrResponse
- type LookupCNAMEResponse
- type LookupHostResponse
- type LookupIPAddrResponse
- type LookupIPResponse
- type LookupMXResponse
- type LookupNSResponse
- type LookupNetIPResponse
- type LookupPortResponse
- type LookupSRVResponse
- type LookupTXTResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonFields ¶
func (*CommonFields) SetCommonFields ¶
func (c *CommonFields) SetCommonFields(duration time.Duration, err error)
type DNS ¶
type DNS struct{}
func (*DNS) LookupAddr ¶
func (r *DNS) LookupAddr(addr string) *LookupAddrResponse
func (*DNS) LookupCNAME ¶
func (r *DNS) LookupCNAME(host string) *LookupCNAMEResponse
func (*DNS) LookupHost ¶
func (*DNS) LookupHost(host string) *LookupHostResponse
func (*DNS) LookupIPAddr ¶
func (r *DNS) LookupIPAddr(host string) *LookupIPAddrResponse
func (*DNS) LookupMX ¶
func (r *DNS) LookupMX(name string) *LookupMXResponse
func (*DNS) LookupNS ¶
func (r *DNS) LookupNS(name string) *LookupNSResponse
func (*DNS) LookupNetIP ¶
func (r *DNS) LookupNetIP(network string, host string) *LookupNetIPResponse
func (*DNS) LookupPort ¶
func (r *DNS) LookupPort(network string, service string) *LookupPortResponse
func (*DNS) LookupSRV ¶
func (r *DNS) LookupSRV(service string, proto string, name string) *LookupSRVResponse
func (*DNS) LookupTXT ¶
func (r *DNS) LookupTXT(name string) *LookupTXTResponse
type LookupAddrResponse ¶
type LookupAddrResponse struct { CommonFields Names []string `js:"names"` }
type LookupCNAMEResponse ¶
type LookupCNAMEResponse struct { CommonFields Cname string `js:"cname"` }
type LookupHostResponse ¶
type LookupHostResponse struct { CommonFields Addrs []string `js:"addrs"` }
type LookupIPAddrResponse ¶
type LookupIPAddrResponse struct { CommonFields Ips []string `js:"ips"` }
type LookupIPResponse ¶
type LookupIPResponse struct { CommonFields Ips []string `js:"ips"` }
type LookupMXResponse ¶
type LookupMXResponse struct { CommonFields Records []*net.MX `js:"records"` }
type LookupNSResponse ¶
type LookupNSResponse struct { CommonFields Records []*net.NS `js:"records"` }
type LookupNetIPResponse ¶
type LookupNetIPResponse struct { CommonFields Ips []string `js:"ips"` }
type LookupPortResponse ¶
type LookupPortResponse struct { CommonFields Port int `js:"port"` }
type LookupSRVResponse ¶
type LookupSRVResponse struct { CommonFields Cname string `js:"cname"` Records []*net.SRV `js:"records"` }
type LookupTXTResponse ¶
type LookupTXTResponse struct { CommonFields Records []string `js:"records"` }
Click to show internal directories.
Click to hide internal directories.