mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2024-12-22 18:48:01 +00:00
Update README.md
This commit is contained in:
parent
36f82eb6a7
commit
255660374f
@ -28,8 +28,9 @@ curl -6 ifconfig.es
|
|||||||
- TLS available
|
- TLS available
|
||||||
- Can run behind a proxy by trusting a custom header (usually `X-Real-IP`) to figure out the source IP address.
|
- Can run behind a proxy by trusting a custom header (usually `X-Real-IP`) to figure out the source IP address.
|
||||||
- IPv4 and IPv6.
|
- IPv4 and IPv6.
|
||||||
- Geolocation info including ASN. This feature is possible thanks to [maxmind](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data?lang=en) GeoLite2 databases. In order to use these databases, a -icense key is needed. Please visit Maxmind site for further instructions and get a free license.
|
- Geolocation info including ASN. This feature is possible thanks to [maxmind](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data?lang=en) GeoLite2 databases. In order to use these databases, a license key is needed. Please visit Maxmind site for further instructions and get a free license.
|
||||||
- High performance
|
- High performance
|
||||||
|
- Although a docker image is provided the executable can reload databases and/or SSL certificates by itself, `hup` signal is honored.
|
||||||
- HTML with templates, text plain and JSON output.
|
- HTML with templates, text plain and JSON output.
|
||||||
|
|
||||||
## Endpoints
|
## Endpoints
|
||||||
|
@ -46,7 +46,7 @@ func Setup() {
|
|||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
if *ver {
|
if *ver {
|
||||||
fmt.Printf("whaismyip version %s", core.Version)
|
fmt.Printf("whatismyip version %s", core.Version)
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user