qiniu

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	AccessKey    string
	AccessSecret string
	// contains filtered or unexported fields
}

func New

func New(accessKey, accessSecret string) *Provider

New 创建实例

func (*Provider) DeployToCDN

func (p *Provider) DeployToCDN(certID string, domain string) (string, error)

DeployToCDN 部署证书到 CDN

func (*Provider) DeployToDCND

func (p *Provider) DeployToDCND(certID string, domain string) (string, error)

DeployToDCND 部署证书到 DCND

func (*Provider) DeployToOSS

func (p *Provider) DeployToOSS(certID string, domain string) (string, error)

DeployToOSS 部署证书到 OSS

func (*Provider) TestConnection

func (p *Provider) TestConnection() (bool, error)

TestConnection 测试连接 验证 AccessKey 是否有效,请求的是 证书列表

func (*Provider) UploadCertificate

func (p *Provider) UploadCertificate(name, domain, cert, key string) error

UploadCertificate 上传证书

Jump to

Keyboard shortcuts

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