Initial commit

This commit is contained in:
nemunaire 2026-04-28 10:38:01 +07:00
commit 30caf67389
18 changed files with 2098 additions and 0 deletions

15
plugin/plugin.go Normal file
View file

@ -0,0 +1,15 @@
// Command plugin is the happyDomain plugin entrypoint for the dangling
// records checker. It is built as a Go plugin and loaded at runtime.
package main
import (
dangling "git.happydns.org/checker-dangling/checker"
sdk "git.happydns.org/checker-sdk-go/checker"
)
var Version = "custom-build"
func NewCheckerPlugin() (*sdk.CheckerDefinition, sdk.ObservationProvider, error) {
dangling.SetVersion(Version)
return dangling.Definition(), dangling.Provider(), nil
}