Documentation
¶
Index ¶
- type BindCdnCertRequest
- type BindCdnCertResponse
- type Client
- func (c *Client) BindCdnCert(req *BindCdnCertRequest) (*BindCdnCertResponse, error)
- func (c *Client) BindCdnCertWithContext(ctx context.Context, req *BindCdnCertRequest) (*BindCdnCertResponse, error)
- func (c *Client) ListCdnDomain() (*ListCdnDomainResponse, error)
- func (c *Client) ListCdnDomainWithContext(ctx context.Context) (*ListCdnDomainResponse, error)
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- func (c *Client) UploadCdnCert(req *UploadCdnCertRequest) (*UploadCdnCertResponse, error)
- func (c *Client) UploadCdnCertWithContext(ctx context.Context, req *UploadCdnCertRequest) (*UploadCdnCertResponse, error)
- type ListCdnDomainResponse
- type UploadCdnCertRequest
- type UploadCdnCertResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindCdnCertRequest ¶
type BindCdnCertResponse ¶
type BindCdnCertResponse struct {
// contains filtered or unexported fields
}
func (*BindCdnCertResponse) GetMessage ¶
func (r *BindCdnCertResponse) GetMessage() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BindCdnCert ¶
func (c *Client) BindCdnCert(req *BindCdnCertRequest) (*BindCdnCertResponse, error)
func (*Client) BindCdnCertWithContext ¶
func (c *Client) BindCdnCertWithContext(ctx context.Context, req *BindCdnCertRequest) (*BindCdnCertResponse, error)
func (*Client) ListCdnDomain ¶ added in v0.4.5
func (c *Client) ListCdnDomain() (*ListCdnDomainResponse, error)
func (*Client) ListCdnDomainWithContext ¶ added in v0.4.5
func (c *Client) ListCdnDomainWithContext(ctx context.Context) (*ListCdnDomainResponse, error)
func (*Client) UploadCdnCert ¶
func (c *Client) UploadCdnCert(req *UploadCdnCertRequest) (*UploadCdnCertResponse, error)
func (*Client) UploadCdnCertWithContext ¶
func (c *Client) UploadCdnCertWithContext(ctx context.Context, req *UploadCdnCertRequest) (*UploadCdnCertResponse, error)
type ListCdnDomainResponse ¶ added in v0.4.5
type ListCdnDomainResponse struct {
Data *struct {
Domains []*struct {
Id int64 `json:"id"`
Name string `json:"name"`
Cname string `json:"cname"`
ServiceType string `json:"service_type"`
Status string `json:"status"`
Source json.RawMessage `json:"source"`
CreateTime string `json:"ctime"`
CertId int64 `json:"cert_id"`
} `json:"domains"`
} `json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*ListCdnDomainResponse) GetCode ¶ added in v0.4.5
func (r *ListCdnDomainResponse) GetCode() int
func (*ListCdnDomainResponse) GetMessage ¶ added in v0.4.5
func (r *ListCdnDomainResponse) GetMessage() string
type UploadCdnCertRequest ¶
type UploadCdnCertResponse ¶
type UploadCdnCertResponse struct {
Data *struct {
Id int64 `json:"id"`
} `json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*UploadCdnCertResponse) GetMessage ¶
func (r *UploadCdnCertResponse) GetMessage() string
Click to show internal directories.
Click to hide internal directories.