Documentation ¶
Index ¶
- func AutoCert()
- func GetCertInfo(domain string) (key *x509.Certificate, err error)
- func GetNginxConfPath(dir string) string
- func IssueCert(domain string) error
- func ReloadNginx() string
- func Sort(key string, order string, Type string, maps []gin.H) []gin.H
- func TestNginxConf(filePath string) error
- type MapsSort
- type MyUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCertInfo ¶
func GetCertInfo(domain string) (key *x509.Certificate, err error)
func GetNginxConfPath ¶
func ReloadNginx ¶
func ReloadNginx() string
func TestNginxConf ¶
Types ¶
type MyUser ¶
type MyUser struct { Email string Registration *registration.Resource // contains filtered or unexported fields }
MyUser You'll need a user or account type that implements acme.User
func (*MyUser) GetPrivateKey ¶
func (u *MyUser) GetPrivateKey() crypto.PrivateKey
func (MyUser) GetRegistration ¶
func (u MyUser) GetRegistration() *registration.Resource
Click to show internal directories.
Click to hide internal directories.