testutil

package
v0.0.0-...-0ec0e2e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FreeUDPPort

func FreeUDPPort(t *testing.T) int

FreeUDPPort returns a random free UDP port.

func LocalHostFreeUDPPort

func LocalHostFreeUDPPort(t *testing.T) string

LocalHostFreeUDPPort returns an addr string for localhost with a random free UDP port.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL