middleware/whoami: add (#264)
Add a new middleware that tells you who you are; IP, port and transport is echoed back. Also some various cleanup and documentation improvements while at it: * ResponseWriter: improve the documentation of these helper functions. * And add an NextHandler for use in tests. Make chaos_test.go and * whoam_test.go use it.
Showing
middleware/whoami/README.md
0 → 100644
middleware/whoami/setup.go
0 → 100644
middleware/whoami/whoami.go
0 → 100644
Please register or sign in to comment