Documentation
¶
Overview ¶
Package dnstest starts embedded pkgs/dns servers on free ports for tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FreeAddr ¶
FreeAddr returns a 127.0.0.1 address whose port was free on both UDP and TCP at call time, for code that starts its own DNS server (still racy, but narrower).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.