Documentation
¶
Index ¶
- type BaseResponse
- type Client
- func (c *Client) EnableDomainHttps(ctx context.Context, domain string, certId string, forceHttps bool, ...) (*EnableDomainHttpsResponse, error)
- func (c *Client) GetDomainInfo(ctx context.Context, domain string) (*GetDomainInfoResponse, error)
- func (c *Client) ModifyDomainHttpsConf(ctx context.Context, domain string, certId string, forceHttps bool, ...) (*ModifyDomainHttpsConfResponse, error)
- func (c *Client) UploadSslCert(ctx context.Context, name string, commonName string, certificate string, ...) (*UploadSslCertResponse, error)
- type DomainInfoHttpsData
- type EnableDomainHttpsRequest
- type EnableDomainHttpsResponse
- type GetDomainInfoResponse
- type ModifyDomainHttpsConfRequest
- type ModifyDomainHttpsConfResponse
- type UploadSslCertRequest
- type UploadSslCertResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(mac *auth.Credentials) *Client
func (*Client) EnableDomainHttps ¶
func (*Client) GetDomainInfo ¶
func (*Client) ModifyDomainHttpsConf ¶
type DomainInfoHttpsData ¶
type EnableDomainHttpsRequest ¶
type EnableDomainHttpsRequest struct {
DomainInfoHttpsData
}
type EnableDomainHttpsResponse ¶
type EnableDomainHttpsResponse struct {
BaseResponse
}
type GetDomainInfoResponse ¶
type GetDomainInfoResponse struct {
BaseResponse
Name string `json:"name"`
Type string `json:"type"`
CName string `json:"cname"`
Https *DomainInfoHttpsData `json:"https"`
PareDomain string `json:"pareDomain"`
OperationType string `json:"operationType"`
OperatingState string `json:"operatingState"`
OperatingStateDesc string `json:"operatingStateDesc"`
CreateAt string `json:"createAt"`
ModifyAt string `json:"modifyAt"`
}
type ModifyDomainHttpsConfRequest ¶
type ModifyDomainHttpsConfRequest struct {
DomainInfoHttpsData
}
type ModifyDomainHttpsConfResponse ¶
type ModifyDomainHttpsConfResponse struct {
BaseResponse
}
type UploadSslCertRequest ¶
type UploadSslCertResponse ¶
type UploadSslCertResponse struct {
BaseResponse
CertID string `json:"certID"`
}
Click to show internal directories.
Click to hide internal directories.