Documentation
¶
Overview ¶
Package tester is the testing package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCustomResolver ¶
func NewCustomResolver(liveResolver interfaces.DNSResolver, hosts map[string][]string, srvRecords map[string][]*net.SRV, ipAddresses map[string][]net.IPAddr) interfaces.DNSResolver
NewCustomResolver will return a custom resolver with specific records hard coded ,
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver for mocking requests
func (*Resolver) LookupHost ¶
LookupHost will lookup a host
func (*Resolver) LookupIPAddr ¶
LookupIPAddr will look up an ip address
Click to show internal directories.
Click to hide internal directories.