cdn

package
v0.4.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

A simple SDK client for WangsuCloud CDN. API documentation: https://www.wangsu.com/document/api-doc/product

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAkSk added in v0.4.25

func WithAkSk(ak, sk string) common.OptionsFunc

Types

type BatchUpdateCertificateConfigRequest

type BatchUpdateCertificateConfigRequest struct {
	CertificateId int64    `json:"certificateId"`
	DomainNames   []string `json:"domainNames"`
}

type BatchUpdateCertificateConfigResponse

type BatchUpdateCertificateConfigResponse struct {
	// contains filtered or unexported fields
}

func (*BatchUpdateCertificateConfigResponse) GetCode

func (r *BatchUpdateCertificateConfigResponse) GetCode() string

func (*BatchUpdateCertificateConfigResponse) GetMessage

func (r *BatchUpdateCertificateConfigResponse) GetMessage() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(optFns ...common.OptionsFunc) (*Client, error)

func (*Client) SetTimeout

func (c *Client) SetTimeout(timeout time.Duration) *Client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL