portavail

package
v0.11.1-0...-8ab92b3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(host, port string) error

Check takes ports and will check for use against the localhost:port. If any port provided is in use, it will return an error.

func FindNext

func FindNext(host, port string) (string, error)

FindNext takes a host and port and will find the next available port

Types

This section is empty.

Jump to

Keyboard shortcuts

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