mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-23 11:27:59 +00:00
feat: support aliyun dcdn(esa)
This commit is contained in:
@@ -16,6 +16,7 @@ import (
|
||||
const (
|
||||
targetAliyunOss = "aliyun-oss"
|
||||
targetAliyunCdn = "aliyun-cdn"
|
||||
targetAliyunEsa = "aliyun-dcdn"
|
||||
targetSSH = "ssh"
|
||||
targetWebhook = "webhook"
|
||||
targetTencentCdn = "tencent-cdn"
|
||||
@@ -117,6 +118,8 @@ func getWithAccess(record *models.Record, cert *applicant.Certificate, access *m
|
||||
return NewAliyun(option)
|
||||
case targetAliyunCdn:
|
||||
return NewAliyunCdn(option)
|
||||
case targetAliyunEsa:
|
||||
return NewAliyunEsa(option)
|
||||
case targetSSH:
|
||||
return NewSSH(option)
|
||||
case targetWebhook:
|
||||
|
Reference in New Issue
Block a user