Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhutter/echo
https://github.com/mhutter/echo
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mhutter/echo
- Owner: mhutter
- License: mit
- Created: 2019-08-13T09:30:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-13T21:56:29.000Z (4 months ago)
- Last Synced: 2024-08-14T00:49:20.776Z (4 months ago)
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 3
- 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]