net

package
v0.0.0-...-c87aca2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InterfaceAddrs = net.InterfaceAddrs

InterfaceAddrs returns a list of the system's unicast interface addresses.

The returned list does not identify the associated interface; use Interfaces and Interface.Addrs for more detail.

Functions

func PodIP

func PodIP() (string, error)

PodIP gets the IP address from the POD_IP environment variable. If POD_IP is empty, then the first non-loopback IP address is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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