mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 23:20:26 +08:00
[SSL证书]免费证书申请增加HTTP认证方式
This commit is contained in:
24
internal/db/models/acme_authentication_model.go
Normal file
24
internal/db/models/acme_authentication_model.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package models
|
||||
|
||||
// ACME认证
|
||||
type ACMEAuthentication struct {
|
||||
Id uint64 `field:"id"` // ID
|
||||
TaskId uint64 `field:"taskId"` // 任务ID
|
||||
Domain string `field:"domain"` // 域名
|
||||
Token string `field:"token"` // 令牌
|
||||
Key string `field:"key"` // 密钥
|
||||
CreatedAt uint64 `field:"createdAt"` // 创建时间
|
||||
}
|
||||
|
||||
type ACMEAuthenticationOperator struct {
|
||||
Id interface{} // ID
|
||||
TaskId interface{} // 任务ID
|
||||
Domain interface{} // 域名
|
||||
Token interface{} // 令牌
|
||||
Key interface{} // 密钥
|
||||
CreatedAt interface{} // 创建时间
|
||||
}
|
||||
|
||||
func NewACMEAuthenticationOperator() *ACMEAuthenticationOperator {
|
||||
return &ACMEAuthenticationOperator{}
|
||||
}
|
||||
Reference in New Issue
Block a user