Versions in this module Expand all Collapse all v0 v0.4.29 Jul 31, 2026 v0.4.28 Jul 21, 2026 v0.4.27 Jul 15, 2026 v0.4.26 Jun 23, 2026 Changes in this version type Client + func (c *Client) DeleteObjectStorageSSL(regionId string, bucket string) (*DeleteObjectStorageSSLResponse, error) + func (c *Client) DeleteObjectStorageSSLWithContext(ctx context.Context, regionId string, bucket string) (*DeleteObjectStorageSSLResponse, error) + func (c *Client) GetObjectStorageSSL(regionId string, bucket string) (*GetObjectStorageSSLResponse, error) + func (c *Client) GetObjectStorageSSLWithContext(ctx context.Context, regionId string, bucket string) (*GetObjectStorageSSLResponse, error) + func (c *Client) UploadObjectStorageSSL(regionId string, bucket string, req *UploadObjectStorageSSLRequest) (*UploadObjectStorageSSLResponse, error) + func (c *Client) UploadObjectStorageSSLWithContext(ctx context.Context, regionId string, bucket string, ...) (*UploadObjectStorageSSLResponse, error) + type DeleteObjectStorageSSLResponse struct + func (r *DeleteObjectStorageSSLResponse) GetAPIError() error + type GetObjectStorageSSLResponse struct + SSL bool + func (r *GetObjectStorageSSLResponse) GetAPIError() error + type UploadObjectStorageSSLRequest struct + Certificate string + PrivateKey string + func (r *UploadObjectStorageSSLRequest) GetAPIError() error + type UploadObjectStorageSSLResponse struct + SSL bool + func (r *UploadObjectStorageSSLResponse) GetAPIError() error v0.4.25 Jun 10, 2026 Changes in this version + type Client struct + func NewClient(optFns ...OptionsFunc) (*Client, error) + func (c *Client) CreateDomainRecord(domainId int, req *CreateDomainRecordRequest) (*CreateDomainRecordResponse, error) + func (c *Client) CreateDomainRecordWithContext(ctx context.Context, domainId int, req *CreateDomainRecordRequest) (*CreateDomainRecordResponse, error) + func (c *Client) DeleteDomainRecord(domainId int, recordId int) (*DeleteDomainRecordResponse, error) + func (c *Client) DeleteDomainRecordWithContext(ctx context.Context, domainId int, recordId int) (*DeleteDomainRecordResponse, error) + func (c *Client) ListDomains(req *ListDomainsRequest) (*ListDomainsResponse, error) + func (c *Client) ListDomainsWithContext(ctx context.Context, req *ListDomainsRequest) (*ListDomainsResponse, error) + func (c *Client) SetTimeout(timeout time.Duration) *Client + type CreateDomainRecordRequest DomainRecord + type CreateDomainRecordResponse struct + func (r *CreateDomainRecordResponse) GetAPIError() error + type DeleteDomainRecordResponse struct + func (r *DeleteDomainRecordResponse) GetAPIError() error + type Domain struct + AXfrIPs []*string + Description *string + Domain *string + ExpireSec *int + Group *string + ID *int + MasterIPs []*string + RefreshSec *int + RetrySec *int + SOAEmail *string + Status *string + TTLSec *int + Tags []*string + Type *string + type DomainRecord struct + ID *int + Name *string + Port *int + Priority *int + Protocol *string + Service *string + TTLSec *int + Tag *string + Target *string + Type *string + Weight *int + type ListDomainsRequest struct + Page *int + PageSize *int + type ListDomainsResponse struct + Data []*Domain + Page int + Pages int + Results int + func (r *ListDomainsResponse) GetAPIError() error + type Options struct + AccessToken string + type OptionsFunc func(*Options) + func WithAccessToken(accessToken string) OptionsFunc