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

This commit is contained in:
刘祥超
2020-11-26 16:39:06 +08:00
parent 4142fae762
commit 3eea083a5a
18 changed files with 594 additions and 27 deletions

View File

@@ -7,12 +7,15 @@ type ProviderInterface interface {
// 认证
Auth(params maps.Map) error
// 获取域名列表
// 获取域名解析记录列表
GetRecords(domain string) (records []*Record, err error)
// 读取域名支持的线路数据
GetRoutes(domain string) (routes []*Route, err error)
// 查询单个记录
QueryRecord(domain string, name string, recordType RecordType) (*Record, error)
// 设置记录
AddRecord(domain string, newRecord *Record) error