mirror of
https://github.com/coredns/coredns.git
synced 2025-11-26 13:44:05 -05:00
@@ -1,11 +1,9 @@
|
||||
package health
|
||||
|
||||
// Healther interface needs to be implemented by each plugin willing to
|
||||
// provide healthhceck information to the health plugin. As a second step
|
||||
// the plugin needs to registered against the health plugin, by addding
|
||||
// it to healthers map. Note this method should return quickly, i.e. just
|
||||
// checking a boolean status, as it is called every second from the health
|
||||
// plugin.
|
||||
// Healther interface needs to be implemented by each plugin willing to provide
|
||||
// healthhceck information to the health plugin. Note this method should return
|
||||
// quickly, i.e. just checking a boolean status, as it is called every second
|
||||
// from the health plugin.
|
||||
type Healther interface {
|
||||
// Health returns a boolean indicating the health status of a plugin.
|
||||
// False indicates unhealthy.
|
||||
|
||||
Reference in New Issue
Block a user