added createcert and deletecert
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package model
|
||||
|
||||
type DeleteCertRequest struct {
|
||||
Domain string `json:"domain"`
|
||||
}
|
||||
Reference in New Issue
Block a user