coredns/middleware/pkg/dnsutil
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
..
cname.go Cleanup: put middleware helper functions in pkgs (#245) 2016-09-07 11:10:16 +01:00
cname_test.go cleanups: go vet/golint (#331) 2016-10-12 12:46:35 +01:00
dedup.go Golint2 (#280) 2016-09-23 09:14:12 +01:00
doc.go Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
host.go Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
host_test.go middleware/proxy: config syntax cleanups (#435) 2016-11-24 16:57:20 +01:00
reverse.go Add unit tests for ExtractAddressFromReverse (#328) 2016-10-11 09:48:15 +01:00
reverse_test.go Add unit tests for ExtractAddressFromReverse (#328) 2016-10-11 09:48:15 +01:00