Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mtojek/myip
Quickly lookup external IP address in Go
https://github.com/mtojek/myip
Last synced: 27 days ago
JSON representation
Quickly lookup external IP address in Go
- Host: GitHub
- URL: https://github.com/mtojek/myip
- Owner: mtojek
- License: apache-2.0
- Created: 2018-09-14T16:37:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-14T17:49:05.000Z (over 6 years ago)
- Last Synced: 2024-10-27T05:47:47.518Z (2 months ago)
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# myip
[![Build Status](https://travis-ci.org/mtojek/myip.svg?branch=master)](https://travis-ci.org/mtojek/myip)
Status: **Done**
Quickly lookup external IP address in Go. Uses [miekg/dns](https://github.com/miekg/dns) package and the OpenDNS resolver.
## Usage
~~~
$ go get github.com/mtojek/myip
$ myip
54.85.122.249
~~~