Initial commit

This commit is contained in:
nemunaire 2026-04-26 11:49:13 +07:00
commit 2d98ed1b5d
33 changed files with 4644 additions and 0 deletions

18
plugin/plugin.go Normal file
View file

@ -0,0 +1,18 @@
// Command plugin is the happyDomain plugin entrypoint for the
// resolver-propagation checker.
package main
import (
resolverpropagation "git.happydns.org/checker-resolver-propagation/checker"
sdk "git.happydns.org/checker-sdk-go/checker"
)
// Version is the plugin's version.
var Version = "custom-build"
// NewCheckerPlugin is the symbol resolved by happyDomain when loading the .so.
func NewCheckerPlugin() (*sdk.CheckerDefinition, sdk.ObservationProvider, error) {
resolverpropagation.Version = Version
prvd := resolverpropagation.Provider()
return prvd.(sdk.CheckerDefinitionProvider).Definition(), prvd, nil
}