checker-tls/plugin/plugin.go

14 lines
382 B
Go

// Command plugin is the happyDomain plugin entrypoint for the stub TLS checker.
package main
import (
sdk "git.happydns.org/checker-sdk-go/checker"
tls "git.happydns.org/checker-tls/checker"
)
var Version = "custom-build"
func NewCheckerPlugin() (*sdk.CheckerDefinition, sdk.ObservationProvider, error) {
tls.Version = Version
return tls.Definition(), tls.Provider(), nil
}