dev: add ddns create, edit and batch delete api (#444)

This commit is contained in:
UUBulb authored and GitHub committed 2024-10-21 14:30:50 +08:00
1 parent 2699627df5
commit 4061b847b2
7 files changed
+264 -54

No files matched your search

+17
View File
@@ -98,3 +98,20 @@ type DDNSProvider struct {
WebhookRequestBody bool
WebhookHeaders bool
}
type DDNSForm struct {
ID uint64
MaxRetries uint64
EnableIPv4 string
EnableIPv6 string
Name string
Provider uint8
DomainsRaw string
AccessID string
AccessSecret string
WebhookURL string
WebhookMethod uint8
WebhookRequestType uint8
WebhookRequestBody string
WebhookHeaders string
}