Update README.md

This commit is contained in:
Daniel Carrillo 2021-11-11 18:30:50 +01:00
parent 36f82eb6a7
commit 255660374f
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
2 changed files with 3 additions and 2 deletions

View File

@ -28,8 +28,9 @@ curl -6 ifconfig.es
- TLS available
- Can run behind a proxy by trusting a custom header (usually `X-Real-IP`) to figure out the source IP address.
- 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
- 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.
## Endpoints

View File

@ -46,7 +46,7 @@ func Setup() {
flag.Parse()
if *ver {
fmt.Printf("whaismyip version %s", core.Version)
fmt.Printf("whatismyip version %s", core.Version)
os.Exit(0)
}