qiniu

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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, cert, key string) error

UploadCertificate 上传证书

Jump to

Keyboard shortcuts

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