feat: allow set a different region on deployment to huaweicloud cdn

This commit is contained in:
Fu Diwei
2024-10-24 20:16:23 +08:00
parent bff18a7be7
commit cea6be37dc
12 changed files with 153 additions and 121 deletions

View File

@@ -9,13 +9,13 @@ type Uploader interface {
// 上传证书。
//
// 入参:
// - ctx
// - certPem证书 PEM 内容
// - privkeyPem私钥 PEM 内容
// - ctx上下文。
// - certPem证书 PEM 内容
// - privkeyPem私钥 PEM 内容
//
// 出参:
// - res
// - err
// - res上传结果。
// - err: 错误。
Upload(ctx context.Context, certPem string, privkeyPem string) (res *UploadResult, err error)
}