iputil

package
v0.0.0-...-0f4c570 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExternalIP4

func ExternalIP4() (net.IP, error)

ExternalIP4 retrieves the machine's external (not necessarily public) IP address.

TODO(marius): use http://169.254.169.254/latest/meta-data/public-ipv4 on AWS to get the public address as well.

Types

This section is empty.

Jump to

Keyboard shortcuts

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