Documentation ¶
Index ¶
- Constants
- Variables
- func DynamicPort() int
- func MustWaitForAddrPortDown(ctx context.Context, t *testing.T, addr string)
- func MustWaitForAddrPortUp(ctx context.Context, t *testing.T, addr string) (conn net.Conn)
- func MustWaitForPortListenDown(ctx context.Context, t *testing.T, port int)
- func MustWaitForPortListenUp(ctx context.Context, t *testing.T, port int) (conn net.Conn)
Constants ¶
View Source
const LocalhostBindHost = bindHost("localhost")
Variables ¶
View Source
var ( PortPollInterval = 10 * time.Millisecond PortPollTimeout = 3 * time.Second )
Functions ¶
func MustWaitForAddrPortDown ¶
func MustWaitForAddrPortUp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.