Initial commit

This commit is contained in:
nemunaire 2026-04-07 14:55:34 +07:00
commit dc2b56049e
14 changed files with 1137 additions and 0 deletions

17
plugin/plugin.go Normal file
View file

@ -0,0 +1,17 @@
// Command plugin is the happyDomain plugin entrypoint for the dummy checker.
//
// It is built as a Go plugin (`go build -buildmode=plugin`) and loaded at
// runtime by happyDomain.
package main
import (
dummy "git.happydns.org/happyDomain/checker-dummy/checker"
"git.happydns.org/happyDomain/model"
)
// NewCheckerPlugin is the symbol resolved by happyDomain when loading the
// .so file. It returns the checker definition and the observation provider
// that the host will register in its global registries.
func NewCheckerPlugin() (*happydns.CheckerDefinition, happydns.ObservationProvider, error) {
return dummy.Definition(), dummy.Provider(), nil
}