getmyip

package module
v0.0.0-...-35d024b Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 6 Imported by: 0

README

getmyip

package to get public & outbound ip address

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutboundIP

func GetOutboundIP() (net.IP, error)

GetOutboundIP returns preferred outbound IP of current machine.

func GetPublicIP

func GetPublicIP() (net.IP, error)

GetPublicIP returns public IP of current machine by calling various online services.

Types

This section is empty.

Jump to

Keyboard shortcuts

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