ports

package
v0.0.0-...-5a6ef88 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FreePort

type FreePort struct {
	// contains filtered or unexported fields
}

func ReservePorts

func ReservePorts(t *testing.T, count int) *FreePort

func (*FreePort) Free

func (f *FreePort) Free(t *testing.T)

func (*FreePort) Port

func (f *FreePort) Port(t *testing.T, n int) int

Jump to

Keyboard shortcuts

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