Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mhutter/echo


https://github.com/mhutter/echo

Last synced: 25 days ago
JSON representation

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]