Initial commit

This commit is contained in:
nemunaire 2026-04-24 10:33:26 +07:00
commit 1b4dacff1f
23 changed files with 1843 additions and 0 deletions

16
plugin/plugin.go Normal file
View file

@ -0,0 +1,16 @@
// Command plugin is the happyDomain plugin entrypoint for the DANE/TLSA
// checker. Built with -buildmode=plugin and loaded at runtime.
package main
import (
dane "git.happydns.org/checker-dane/checker"
sdk "git.happydns.org/checker-sdk-go/checker"
)
var Version = "custom-build"
func NewCheckerPlugin() (*sdk.CheckerDefinition, sdk.ObservationProvider, error) {
dane.Version = Version
prvd := dane.Provider()
return prvd.(sdk.CheckerDefinitionProvider).Definition(), prvd, nil
}