freeport

package
v0.0.0-...-317f090 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Get free port

Index

Constants

This section is empty.

Variables

View Source
var ErrNoFreePort = errors.New("no free port")

Functions

func GetFreePort

func GetFreePort() (int, error)

GetFreePort asks the kernel for a free open port that is ready to use.

Types

This section is empty.

Jump to

Keyboard shortcuts

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