Registry / networking / glendc-go-external-ip

glendc-go-external-ip

JSON →
library0.1.0gogounverified

A Go library to retrieve the external IP address of the current machine.

go get github.com/glendc/go-external-ip
INSTALL
IMPORT
SIG · GLENDC-GO-EXTERNAL
G
glendc-go-external-ip
networkinggov0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

externalip
✓ github.com/glendc/go-external-ip

Gets the external IP address using default resolver.

package main import ( "fmt" "github.com/glendc/go-external-ip" ) func main() { ip, _ := externalip.DefaultResolver().GetExternalIP() fmt.Println(ip) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
OpenAI (training)
1
Resources
glendc-go-external-ip — go get glendc-go-external-ip · libregistry