mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-09 05:59:50 +00:00
27 lines
501 B
Go
27 lines
501 B
Go
package btpanelsdk
|
|
|
|
type BaseResponse interface {
|
|
GetStatus() *bool
|
|
GetMsg() *string
|
|
}
|
|
|
|
type SetSiteSSLRequest struct {
|
|
Type string `json:"type"`
|
|
SiteName string `json:"siteName"`
|
|
Key string `json:"key"`
|
|
Csr string `json:"csr"`
|
|
}
|
|
|
|
type SetSiteSSLResponse struct {
|
|
Status *bool `json:"status,omitempty"`
|
|
Msg *string `json:"msg,omitempty"`
|
|
}
|
|
|
|
func (r *SetSiteSSLResponse) GetStatus() *bool {
|
|
return r.Status
|
|
}
|
|
|
|
func (r *SetSiteSSLResponse) GetMsg() *string {
|
|
return r.Msg
|
|
}
|