Import checker-resolver-propagation into happydomain

This commit is contained in:
nemunaire 2026-04-26 22:14:35 +07:00
commit fdd1045fed
3 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,34 @@
// This file is part of the happyDomain (R) project.
// Copyright (c) 2020-2026 happyDomain
// Authors: Pierre-Olivier Mercier, et al.
//
// This program is offered under a commercial and under the AGPL license.
// For commercial licensing, contact us at <contact@happydomain.org>.
//
// For AGPL licensing:
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
package checkers
import (
resolverprop "git.happydns.org/checker-resolver-propagation/checker"
sdk "git.happydns.org/checker-sdk-go/checker"
"git.happydns.org/happyDomain/internal/checker"
)
func init() {
prvd := resolverprop.Provider()
checker.RegisterObservationProvider(prvd)
checker.RegisterExternalizableChecker(prvd.(sdk.CheckerDefinitionProvider).Definition())
}

1
go.mod
View file

@ -22,6 +22,7 @@ require (
git.happydns.org/checker-ns-restrictions v0.1.0
git.happydns.org/checker-ping v0.1.0
git.happydns.org/checker-ptr v0.1.0
git.happydns.org/checker-resolver-propagation v0.1.0
git.happydns.org/checker-sdk-go v1.5.0
git.happydns.org/checker-sip v0.2.0
git.happydns.org/checker-srv v0.1.0

2
go.sum
View file

@ -42,6 +42,8 @@ git.happydns.org/checker-ping v0.1.0 h1:Cu9Upvs/WoAWHi0A/1QahmuqB4/99n/jK29W/Bnv
git.happydns.org/checker-ping v0.1.0/go.mod h1:P0xv85b2MoVud7UXbfoS0n3qMlyQGfg+uz1knN+7Q7w=
git.happydns.org/checker-ptr v0.1.0 h1:B/oaeiNehMUtBcZXsuVW+lk+tbrIGKz6UiRkUpszKhw=
git.happydns.org/checker-ptr v0.1.0/go.mod h1:jhi+CDu5K/pStNvL6TB6izjgxxiyjcEI/0uRnUMGKL4=
git.happydns.org/checker-resolver-propagation v0.1.0 h1:vBF7e+xvHDSR/D/8s1RUg/cISQKSHejJLnLNReLs6uk=
git.happydns.org/checker-resolver-propagation v0.1.0/go.mod h1:BQNmq0KP72duSp3yMvOskyRGe34Zb72eOKyssUeCqbI=
git.happydns.org/checker-sdk-go v1.5.0 h1:5uD5Cm6xJ+lwnhbJ09iCXGHbYS9zRh+Yh0NeBHkAPBY=
git.happydns.org/checker-sdk-go v1.5.0/go.mod h1:aNAcfYFfbhvH9kJhE0Njp5GX0dQbxdRB0rJ0KvSC5nI=
git.happydns.org/checker-sip v0.2.0 h1:ZBYZO/ocBhdFKM70xEZOL/v4OJ36BWU6wPVBcS871NM=