iredmail / goutils

Util functions for Golang.

Home Page:https://www.iredmail.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

goutils/sslcert/:WithCertDomain() 改为支持传入多个 domain

iredmail opened this issue · comments

  • WithCertDomain -> WithCertDomains(domains ...string)
  • 同步各个项目里的 goutils 版本,并更新 WithCertDomain 的参数。
    • Spiderd
    • Licd
  • spider 是否还需要 internal/sslcert/ 目录?
  • licd 是否还需要 internal/autocert/ 目录?
  当前的两个项目中都需要在 `fiber hander` 中使用目录中的 `Instance` 实例

是否可以只保留 Instance,移除其他重复代码?例如 licd 的 internal/autocert/ 里的代码为:

var Instance *manager

这里的 *manager 和 goutils/sslcert/ 里的 Manager 结构体是一样的作用。