http

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SuggestPortInRange

func SuggestPortInRange(minPort, maxPort int) int

SuggestPortInRange will suggest a http port in the given range.

func SuggestPortInRangeExcluding

func SuggestPortInRangeExcluding(minPort, maxPort int, exclude []int) int

SuggestPortInRangeExcluding will suggest a http port in the given range, excluding the given ports.

func SuggestPrivatePort

func SuggestPrivatePort() int

SuggestPrivatePort will suggest a private http port.

func SuggestPrivatePortExcluding

func SuggestPrivatePortExcluding(exclude []int) int

SuggestPrivatePortExcluding will suggest a http port excluding the given ports.

Types

This section is empty.

Jump to

Keyboard shortcuts

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