coredns/middleware
Miek Gieben db6c9a3f01 middleware/metrics: fix crash on startup (#318)
Make the methods that handle Metrics all use pointer receivers to fix
sync.Once not being initialized.

Finish the setup_test to test for failures. And make the check for the
address more strict and return an error when it does not have a port
number.

Add a toplevel test that starts a CoreDNS server with metrics enabled
so we catch these errors in the future.
2016-10-04 11:05:04 +01:00
..
bind Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
cache Fix a typo (#315) 2016-10-03 07:21:24 +01:00
chaos Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
dnssec Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
errors Golint2 (#280) 2016-09-23 09:14:12 +01:00
etcd middleware/etcd: add setup_test.go (#304) 2016-09-26 14:43:38 +01:00
file middleware/file: transfer from does not make sense (#314) 2016-10-02 19:41:00 +01:00
health Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
kubernetes Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
loadbalance Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
log Golint2 (#280) 2016-09-23 09:14:12 +01:00
metrics middleware/metrics: fix crash on startup (#318) 2016-10-04 11:05:04 +01:00
pkg middleware/cache: split cache in positive and negative and use lru (#298) 2016-10-02 08:31:44 +01:00
pprof Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
proxy Golint middleware/proxy (#290) 2016-09-23 23:00:50 +01:00
rewrite Golint2 (#280) 2016-09-23 09:14:12 +01:00
secondary middleware/file: transfer from does not make sense (#314) 2016-10-02 19:41:00 +01:00
test Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
whoami Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
middleware.go middleware/whoami: add (#264) 2016-09-17 17:09:05 +01:00
middleware_test.go Use context.Context 2016-03-19 07:32:50 +00:00
normalize.go Run golint and go vet (#276) 2016-09-21 17:01:19 +01:00
normalize_test.go Add tests for normalize.go 2016-09-07 12:55:41 +00:00