ports

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

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

Go to latest
Published: May 6, 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