mirror of
https://github.com/coredns/coredns.git
synced 2025-11-17 17:32:18 -05:00
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.
1.1 KiB
1.1 KiB