Simple REST API to get your remote ip address.
Standalone http-server written in GO
https://ip.mindc.net running...
https://ip4.mindc.net running...
https://ip6.mindc.net running...
method: GET,POST
response (text/plain):
8.8.8.8
method: GET,POST
response (application/json):
{"ip":"8.8.8.8"}
method: GET
response (text/javascript):
YOUR_CALLBACK("8.8.8.8");
method: POST
response (application/json):
{"jsonrpc":"2.0","id":"xFrB","result":"8.8.8.8"}
* require valid JSON-RPC 2.0 request with any string value as method
https://github.com/mindc/remoteip
Using https://github.com/valyala/fasthttp as net/http replacement.
Using https://github.com/buaazp/fasthttprouter as HTTP request router.
Using https://github.com/caarlos0/env as ENV parser.
Using https://github.com/sindresorhus/github-markdown-css for Markdown CSS
2017-2020