teomakers

package
v0.4.28 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

A simple SDK client for Tencent Cloud EdgeOne Pages. API documentation: https://docs.edgeone.site/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

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

func (*Client) SetTimeout

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

type DescribePagesZoneCustomDomainsRequest

type DescribePagesZoneCustomDomainsRequest struct {
	ProjectId *string `json:"ProjectId,omitempty"`
}

type DescribePagesZoneCustomDomainsResponse

type DescribePagesZoneCustomDomainsResponse struct {
	Data *struct {
		Response *struct {
			RequestId    *string                  `json:"RequestId,omitempty"`
			TotalCount   *int64                   `json:"TotalCount,omitempty"`
			PagesDomains []*PagesZoneCustomDomain `json:"PagesDomains,omitempty"`
		} `json:"Response,omitempty"`
	} `json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribePagesZoneCustomDomainsResponse) GetCode

func (r *DescribePagesZoneCustomDomainsResponse) GetCode() int

func (*DescribePagesZoneCustomDomainsResponse) GetMessage

func (r *DescribePagesZoneCustomDomainsResponse) GetMessage() string

type DnsVerification

type DnsVerification = teo.DnsVerification

type FileVerification

type FileVerification = teo.FileVerification

type NsVerification

type NsVerification = teo.NsVerification

type Options

type Options struct {
	ApiToken string
}

type OptionsFunc

type OptionsFunc func(*Options)

func WithApiToken

func WithApiToken(apiToken string) OptionsFunc

type OwnershipVerification

type OwnershipVerification = teo.OwnershipVerification

type PagesZoneCustomDomain

type PagesZoneCustomDomain struct {
	Type                  *string                `json:"Type,omitempty"`
	Domain                *string                `json:"Domain,omitempty"`
	ForceRedirectHTTPS    *string                `json:"ForceRedirectHTTPS,omitempty"`
	RedirectStatusCode    *int32                 `json:"RedirectStatusCode,omitempty"`
	CurrentCname          *string                `json:"CurrentCname,omitempty"`
	MainDomain            *string                `json:"MainDomain,omitempty"`
	Status                *string                `json:"Status,omitempty"`
	OwnershipVerification *OwnershipVerification `json:"OwnershipVerification,omitempty"`
	Cname                 *string                `json:"Cname,omitempty"`
	Area                  *string                `json:"Area,omitempty"`
	ZoneId                *string                `json:"ZoneId,omitempty"`
}

Jump to

Keyboard shortcuts

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