ports

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAvailable

func CheckAvailable(specs ...string) (string, error)

CheckAvailable reports whether all given port specs are free to bind. Each spec is a single port ("443") or an inclusive range ("4510-4559"). Returns the first port found to be in use and a non-nil error; returns an empty string and nil if all ports are available.

Types

This section is empty.

Jump to

Keyboard shortcuts

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