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