Documentation ¶
Index ¶
Constants ¶
View Source
const ( HTTP01 = "http01" DNS01 = "dns01" )
Variables ¶
This section is empty.
Functions ¶
func AutoObtain ¶ added in v1.7.6
func AutoObtain()
func GetCertInfo ¶
func GetCertInfo(sslCertificatePath string) (cert *x509.Certificate, err error)
func IssueCert ¶
func IssueCert(payload *ConfigPayload, logChan chan string, errChan chan error)
Types ¶
type AutoCertErrorLog ¶ added in v1.7.6
type AutoCertErrorLog struct {
// contains filtered or unexported fields
}
func (*AutoCertErrorLog) Exit ¶ added in v1.7.6
func (t *AutoCertErrorLog) Exit(text string, err error)
func (*AutoCertErrorLog) Push ¶ added in v1.7.6
func (t *AutoCertErrorLog) Push(text string, err error)
func (*AutoCertErrorLog) SetCertModel ¶ added in v1.7.6
func (t *AutoCertErrorLog) SetCertModel(cert *model.Cert)
func (*AutoCertErrorLog) ToString ¶ added in v1.7.6
func (t *AutoCertErrorLog) ToString() (content string)
type ConfigPayload ¶ added in v1.8.0
type MyUser ¶
type MyUser struct { Email string Registration *registration.Resource Key crypto.PrivateKey }
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.