netutil

package
v0.0.49 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2021 License: Apache-2.0, NCSA Imports: 4 Imported by: 0

Documentation

Overview

Package netutil provides network utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PickUnusedPort

func PickUnusedPort() (int, error)

PickUnusedPort returns a port that is likely unused by temporarily binding a port by listening on localhost:0 and determining the port given to the process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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