Fix DDNS bugs and split up ddns module (#326)

* fix: webhook retry logic
fix: adjust record type based on ipv4 ipv6
refract: move ddns providers to a new module

* refract: move ddns module to pkg/
This commit is contained in:
Darc Z
2024-02-26 11:49:28 +08:00
committed by GitHub
parent 5e528c42c7
commit cf9d9bd248
7 changed files with 327 additions and 268 deletions

7
pkg/ddns/dummy.go Normal file
View File

@@ -0,0 +1,7 @@
package ddns
type ProviderDummy struct{}
func (provider ProviderDummy) UpdateDomain(domainConfig *DomainConfig) bool {
return false
}