refactor: refresh webui

This commit is contained in:
Jacky 2024-04-30 09:53:45 +08:00
parent 59d59dd3ed
commit 4c7e037b76
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
138 changed files with 2232 additions and 1071 deletions

12
internal/cert/payload.go Normal file
View file

@ -0,0 +1,12 @@
package cert
import (
"github.com/go-acme/lego/v4/certcrypto"
)
type ConfigPayload struct {
ServerName []string `json:"server_name"`
ChallengeMethod string `json:"challenge_method"`
DNSCredentialID int `json:"dns_credential_id"`
KeyType certcrypto.KeyType `json:"key_type"`
}