15 lines
443 B
Go
15 lines
443 B
Go
// 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
|
|
return dane.Definition(), dane.Provider(), nil
|
|
}
|