mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
8 lines
227 B
Go
8 lines
227 B
Go
|
|
package ready
|
||
|
|
|
||
|
|
// The Readiness interface needs to be implemented by each plugin willing to provide a readiness check.
|
||
|
|
type Readiness interface {
|
||
|
|
// Ready is called by ready to see whether the plugin is ready.
|
||
|
|
Ready() bool
|
||
|
|
}
|