iputil

package
v0.0.0-...-90deddd Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 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