externalip

package
v1.12.12 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstExternalIP

func FirstExternalIP() net.IP

FirstExternalIP returns the first external IP of the network interfaces on the server.

func IsExternal

func IsExternal(ip net.IP) bool

IsExternal returns true if the given IP matches one of the IP address of the external network interfaces on the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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