
* add ready, remove health * use plugin.Register Signed-off-by: Miek Gieben <miek@miek.nl>
6 lines
216 B
Go
6 lines
216 B
Go
package example
|
|
|
|
// Ready implements the ready.Readiness interface, once this flips to true CoreDNS
|
|
// assumes this plugin is ready for queries; it is not checked again.
|
|
func (e Example) Ready() bool { return true }
|