diff options
author | 2017-08-27 21:33:38 +0100 | |
---|---|---|
committer | 2017-08-27 13:33:38 -0700 | |
commit | 558f4bea41e0493dd4b0e6d0f73b0220a39d1e67 (patch) | |
tree | e735d03f6860db25e09d552ce0b782ea131f68bc /vendor/google.golang.org/grpc/server.go | |
parent | 9c56805d389dac89f7d5f5fc5b05407294ba3157 (diff) | |
download | coredns-558f4bea41e0493dd4b0e6d0f73b0220a39d1e67.tar.gz coredns-558f4bea41e0493dd4b0e6d0f73b0220a39d1e67.tar.zst coredns-558f4bea41e0493dd4b0e6d0f73b0220a39d1e67.zip |
mw/health: poll other middleware (#976)
This add the infrastructure to let other middleware report their health
status back to the health middleware. A health.Healther interface is
introduced and a middleware needs to implement that. A middleware
that supports healthchecks is statically configured.
Every second each supported middleware is queried and the global health
state is updated.
Actual tests have been disabled as no other middleware implements this
at the moment.
Diffstat (limited to 'vendor/google.golang.org/grpc/server.go')
0 files changed, 0 insertions, 0 deletions