Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2017 Changes in this version + type LetsEncryptError struct + type Module struct + Config *config.Module + Logger *logger.Module + Router *router.Module + func (m *Module) CleanUp(domain, token, keyAuth string) error + func (m *Module) GetAllRegisteredDomains() ([]string, error) + func (m *Module) GetRegistration(domain string, withPrivateKey bool) (*Registration, error) + func (m *Module) Init(c *service.Config) + func (m *Module) LoadCertResource(domain string) (*acme.CertificateResource, error) + func (m *Module) ObtainCert(email, domain string) error + func (m *Module) Present(domain, token, keyAuth string) error + func (m *Module) SaveRegistration(r *Registration) error + func (m *Module) ServeHTTP(rw http.ResponseWriter, req *http.Request) + func (m *Module) StartTLSProxy() error + type Registration struct + AgreedOn string + Domain string + Email string + Registration *acme.RegistrationResource + func (r *Registration) GetEmail() string + func (r *Registration) GetPrivateKey() crypto.PrivateKey + func (r *Registration) GetRegistration() *acme.RegistrationResource + func (r *Registration) Init(ks *keystore.KeyStore) (err error)