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

This commit is contained in:
UUBulb
2024-10-21 14:30:50 +08:00
committed by GitHub
parent cf5408751e
commit aa0d570b2b
7 changed files with 264 additions and 54 deletions

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
}