Versions in this module Expand all Collapse all v4 v4.40.11 Jun 23, 2021 Changes in this version + var ErrEmptyResponse = errors.New("empty response") + func ClientType() interface + func RCodeFromError(err error) uint16 + type Client interface + LookupIP func(domain string) ([]net.IP, error) + type ClientWithIPOption interface + GetIPOption func() *IPOption + SetFakeDNSOption func(isFakeEnable bool) + SetQueryOption func(isIPv4Enable, isIPv6Enable bool) + type FakeDNSEngine interface + GetDomainFromFakeDNS func(ip net.Address) string + GetFakeIPForDomain func(domain string) []net.Address + type FakeDNSEngineRev0 interface + GetFakeIPForDomain3 func(domain string, IPv4, IPv6 bool) []net.Address + IsIPInIPPool func(ip net.Address) bool + type IPOption struct + FakeEnable bool + IPv4Enable bool + IPv6Enable bool + type IPv4Lookup interface + LookupIPv4 func(domain string) ([]net.IP, error) + type IPv6Lookup interface + LookupIPv6 func(domain string) ([]net.IP, error) + type RCodeError uint16 + func (e RCodeError) Error() string Other modules containing this package github.com/kevinMKG/vtsttt