feat: change detector
This commit is contained in:
11
pkg/dnsProvider/dnsProvider.go
Normal file
11
pkg/dnsProvider/dnsProvider.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package dnsProvider
|
||||
|
||||
import (
|
||||
"net"
|
||||
"realdnydns/model/common"
|
||||
)
|
||||
|
||||
type DNSProvider interface {
|
||||
UpdateRecord(tld string, subdomain string, ip net.IP, ttl int, prio int, disabled bool) (*common.ARecord, error)
|
||||
GetRecord(tld string, subdomain string) (*common.ARecord, error)
|
||||
}
|
||||
Reference in New Issue
Block a user