[SSL证书]实现基本的自动申请证书流程

This commit is contained in:
GoEdgeLab
2020-11-26 16:39:06 +08:00
parent 29cbabebf5
commit c1c83990d6
18 changed files with 594 additions and 27 deletions

View File

@@ -12,7 +12,6 @@ type ACMETask struct {
Domains string `field:"domains"` // 证书域名
CreatedAt uint64 `field:"createdAt"` // 创建时间
State uint8 `field:"state"` // 状态
IsOk uint8 `field:"isOk"` // 最后运行是否正常
CertId uint64 `field:"certId"` // 生成的证书ID
AutoRenew uint8 `field:"autoRenew"` // 是否自动更新
}
@@ -28,7 +27,6 @@ type ACMETaskOperator struct {
Domains interface{} // 证书域名
CreatedAt interface{} // 创建时间
State interface{} // 状态
IsOk interface{} // 最后运行是否正常
CertId interface{} // 生成的证书ID
AutoRenew interface{} // 是否自动更新
}