Initial commit
This commit is contained in:
commit
9a5bbb0e93
23 changed files with 1847 additions and 0 deletions
15
plugin/plugin.go
Normal file
15
plugin/plugin.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue