Initial commit

This commit is contained in:
nemunaire 2026-04-27 01:31:20 +07:00
commit 542ebdea34
40 changed files with 4592 additions and 0 deletions

20
checker/provider.go Normal file
View file

@ -0,0 +1,20 @@
// This file is part of the happyDomain (R) project.
// Copyright (c) 2020-2026 happyDomain
// Authors: Pierre-Olivier Mercier, et al.
package checker
import (
sdk "git.happydns.org/checker-sdk-go/checker"
)
// Provider returns a new HTTP/HTTPS observation provider.
func Provider() sdk.ObservationProvider {
return &httpProvider{}
}
type httpProvider struct{}
func (p *httpProvider) Key() sdk.ObservationKey {
return ObservationKeyHTTP
}