added createcert and deletecert

This commit is contained in:
wt committed 2025-07-15 00:42:59 +07:00
1 parent df4cf01c87
commit 9f0a6621af
10 files changed
+415 -70

No files matched your search

+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"`
}