Skip to content
/ myip Public

Go pkg to reliably get the public ip address

Notifications You must be signed in to change notification settings

ysmood/myip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

No dependency, lightweight and fast way to get your ip.

The OpenDNS is not as stable as google's dns server, so here I use the 8.8.8.8.

Example: link