added createcert and deletecert

This commit is contained in:
wt
2025-07-15 00:42:59 +07:00
parent df4cf01c87
commit 9f0a6621af
10 changed files with 415 additions and 70 deletions
+9
View File
@@ -0,0 +1,9 @@
package model
type CreateCertificateRequest struct {
CommonName string `json:"commonname"`
OrganizationName []string `json:"organizationname"`
OrganizationUnit []string `json:"organizationunit"`
DNSNames []string `json:"dns"`
CAKeyPassword string `json:"password"`
}
+5
View File
@@ -0,0 +1,5 @@
package model
type DeleteCertRequest struct {
Domain string `json:"domain"`
}