Documentation
¶
Overview ¶
Package dnsproxytest provides test utilities and mock implementations for the dnsproxy module interfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFreePort ¶ added in v0.82.0
NewFreePort is a best-effort helper function that returns a free TCP port that can be used for testing. Note that there is theoretically a TOCTTOU race here: the port may be reoccupied between the time it is released and the time the caller binds to it.
TODO(m.kazantsev): Move to the top-level dnsproxytest package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.