diff options
author | 2016-09-17 17:09:05 +0100 | |
---|---|---|
committer | 2016-09-17 17:09:05 +0100 | |
commit | 30fd224504d7e6fcfa7da027d62d2105ecb6f0c5 (patch) | |
tree | d63f32750f56265e13d5a8c98ef840f1c343395f /contrib | |
parent | ed907d33278003072443029fef666232f16e1985 (diff) | |
download | coredns-30fd224504d7e6fcfa7da027d62d2105ecb6f0c5.tar.gz coredns-30fd224504d7e6fcfa7da027d62d2105ecb6f0c5.tar.zst coredns-30fd224504d7e6fcfa7da027d62d2105ecb6f0c5.zip |
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.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions