This is an HTTP endpoint which returns the requester's own IP address in JSON format.
This is the output of the program when it is invoked with the -h
argument:
usage: /myip
HTTP endpoint which returns the requester's own IP address in JSON format
-listen string
local address and port to listen on (default "0.0.0.0:8000")