utils

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 5 Imported by: 16

Documentation

Overview

Package utils contains a number of helper / utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPortInRange added in v0.0.10

func FindPortInRange(s string) (int, error)

FindPortInRange Iterate through CSV or Range of ports to find open port Valid inputs are "8081", "8081,8085", "8081-8085". Do not combine list and range

func GetFreePort

func GetFreePort() (int, error)

GetFreePort Gets an available port by asking the kernal for a random port ready and available for use.

Types

This section is empty.

Jump to

Keyboard shortcuts

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