coredns/middleware/pkg/debug
Miek Gieben c4ab98c6e3 Add middleware.NextOrFailure (#462)
This checks if the next middleware to be called is nil, and if so returns
ServerFailure and an error. This makes the next calling more robust and
saves some lines of code.

Also prefix the error with the name of the middleware to aid in
debugging.
2016-12-20 18:58:05 +00:00
..
debug.go Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
debug_test.go middleware/httpproxy: add debug queries (#446) 2016-11-29 09:54:57 +00:00