16 lines
382 B
Go
16 lines
382 B
Go
package checker
|
|
|
|
import (
|
|
sdk "git.happydns.org/checker-sdk-go/checker"
|
|
)
|
|
|
|
// Provider returns a new authoritative-consistency observation provider.
|
|
func Provider() sdk.ObservationProvider {
|
|
return &authoritativeConsistencyProvider{}
|
|
}
|
|
|
|
type authoritativeConsistencyProvider struct{}
|
|
|
|
func (p *authoritativeConsistencyProvider) Key() sdk.ObservationKey {
|
|
return ObservationKey
|
|
}
|