ecdn

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	SSL *tcssl.Client
	CDN *tccdn.Client
}

type Config

type Config struct {
	// 腾讯云 SecretId。
	SecretId string `json:"secretId" yaml:"secretId" xml:"SecretId" env:"TENCENTCLOUD_SECRET_ID"`
	// 腾讯云 SecretKey。
	SecretKey string `json:"secretKey" yaml:"secretKey" xml:"SecretKey" env:"TENCENTCLOUD_SECRET_KEY"`
	// 加速域名(支持泛域名)。
	Domain string `json:"domain" yaml:"domain" xml:"Domain" env:"TENCENTCLOUD_DOMAIN"`
}

type Deploy

type Deploy struct {
	Config *Config
}

func (*Deploy) Deploy

func (d *Deploy) Deploy(ctx context.Context, certificate *certificate.Resource) error

func (*Deploy) WithEnvConfig

func (d *Deploy) WithEnvConfig() error

Source Files

  • config.go
  • deploy.go
  • util.go

Jump to

Keyboard shortcuts

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