https://github.com/mhutter/echo
Superseded by https://github.com/mhutter/http-request-inspector/
https://github.com/mhutter/echo
Last synced: 11 months ago
JSON representation
Superseded by https://github.com/mhutter/http-request-inspector/
- Host: GitHub
- URL: https://github.com/mhutter/echo
- Owner: mhutter
- License: mit
- Archived: true
- Created: 2019-08-13T09:30:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-13T21:56:29.000Z (almost 2 years ago)
- Last Synced: 2025-03-23T19:17:51.930Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= echo
Service that echoes various attributes of the HTTP request.
== Usage
`/ip`:: Returns the RemoteAddr of the request
`/headers`:: Returns all Headers in plain text
== Developing
I recommend using https://github.com/codegangsta/gin[gin] for livereload during development:
gin --build cmd/server
To make sure everything builds as expected, use `make server` to build the
binary locally and `make image` to build the docker image.
== License
MIT (see link:LICENSE[LICENSE])
---
> https://hutter.io/[Manuel Hutter] -
> GitHub https://github.com/mhutter[@mhutter] -
> Twitter https://twitter.com/dratir[@dratir]