Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hilli/myip-microservice
Return the ip address of the requester
https://github.com/hilli/myip-microservice
Last synced: about 13 hours ago
JSON representation
Return the ip address of the requester
- Host: GitHub
- URL: https://github.com/hilli/myip-microservice
- Owner: hilli
- Created: 2021-01-19T09:42:18.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-26T09:24:13.000Z (over 3 years ago)
- Last Synced: 2023-03-10T20:47:29.605Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# myip-microservice
[![docker-build](https://github.com/hilli/myip-microservice/actions/workflows/dockerize.yaml/badge.svg)](https://github.com/hilli/myip-microservice/actions/workflows/dockerize.yaml)
Simple little service to return the best know IP address of the requester. It will return a json object if `application/json` is requested by the client, otherwise only the IP is returned as `text/plain`.
## Running
### Docker command
```
docker run -i -t --rm -p 80:8080 hilli/myip-microservice
```