Categorygithub.com/backplane/myip
repositorypackage
0.1.6
Repository: https://github.com/backplane/myip.git
Documentation: pkg.go.dev

# README

myip

This is an HTTP endpoint which returns the requester's own IP address in JSON format.

Usage

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")