Documentation
¶
Index ¶
- type DNSFactory
- func (f *DNSFactory) Lookup(host string, args ...int) ([]string, error)
- func (f *DNSFactory) LookupAddr(host string, args ...int) ([]string, error)
- func (f *DNSFactory) LookupCNAME(host string, args ...int) (string, error)
- func (f *DNSFactory) LookupHost(host string, args ...int) ([]string, error)
- func (f *DNSFactory) LookupMX(host string, args ...int) ([]*net.MX, error)
- func (f *DNSFactory) LookupNS(host string, args ...int) ([]*net.NS, error)
- func (f *DNSFactory) LookupTXT(host string, args ...int) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSFactory ¶
type DNSFactory struct {
// contains filtered or unexported fields
}
func NewDNSFactory ¶
func NewDNSFactory(driver vmnet.NetDriver) *DNSFactory
func (*DNSFactory) LookupAddr ¶ added in v1.0.2
func (f *DNSFactory) LookupAddr(host string, args ...int) ([]string, error)
func (*DNSFactory) LookupCNAME ¶ added in v1.0.2
func (f *DNSFactory) LookupCNAME(host string, args ...int) (string, error)
func (*DNSFactory) LookupHost ¶ added in v1.0.2
func (f *DNSFactory) LookupHost(host string, args ...int) ([]string, error)
Click to show internal directories.
Click to hide internal directories.