network

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllHostsBindAddr added in v0.8.0

func AllHostsBindAddr(port int) string

An address spec for listening on a port on 0.0.0.0.

func BindAddr added in v0.10.18

func BindAddr(host string, port int) string

An address spec for listening on a specified host and port

func IsBindAddrFree added in v0.8.0

func IsBindAddrFree(addr string) error

Checks if no one is listening on the current address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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