feat: create standalone native fnOS repository
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package ddns
|
||||
|
||||
import "context"
|
||||
|
||||
type Provider interface {
|
||||
Name() string
|
||||
Verify(ctx context.Context, cred Credentials) error
|
||||
HasZone(ctx context.Context, cred Credentials, zone string) (bool, error)
|
||||
UpdateRecord(ctx context.Context, cred Credentials, rootDomain, recordName, recordType, ip string) error
|
||||
GetRecordIP(ctx context.Context, cred Credentials, rootDomain, recordName, recordType string) (string, error)
|
||||
}
|
||||
Reference in New Issue
Block a user