Documentation
¶
Overview ¶
Package interfaces is the custom interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSResolver ¶
type DNSResolver interface {
LookupHost(ctx context.Context, host string) ([]string, error)
LookupIPAddr(ctx context.Context, host string) ([]net.IPAddr, error)
LookupSRV(ctx context.Context, service, proto, name string) (string, []*net.SRV, error)
}
DNSResolver is a custom resolver interface for testing
Click to show internal directories.
Click to hide internal directories.