Initial commit
This commit is contained in:
commit
2b72492a59
25 changed files with 3147 additions and 0 deletions
15
checker/provider.go
Normal file
15
checker/provider.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package checker
|
||||
|
||||
import (
|
||||
sdk "git.happydns.org/checker-sdk-go/checker"
|
||||
)
|
||||
|
||||
func Provider() sdk.ObservationProvider {
|
||||
return &authoritativeConsistencyProvider{}
|
||||
}
|
||||
|
||||
type authoritativeConsistencyProvider struct{}
|
||||
|
||||
func (p *authoritativeConsistencyProvider) Key() sdk.ObservationKey {
|
||||
return ObservationKey
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue