Versions in this module Expand all Collapse all v0 v0.1.0 Oct 18, 2019 Changes in this version + const DNSPort + const PebbleConfigJSON + func InitializeLego(logger log.Logger) + func NewChallengeServer(t *testing.T, solver *HTTP01Solver, port int) *httptest.Server + type Client struct + DirectoryURL string + HTTP01Solver HTTP01Solver + func (c *Client) CreateAccount(accountKey crypto.PrivateKey, email string) (string, error) + func (c *Client) ObtainCertificate(req acme.CertificateRequest) (*acme.CertificateInfo, error) + type HTTP01Solver struct + Logger log.Logger + func (p *HTTP01Solver) CleanUp(domain, token, keyAuth string) error + func (p *HTTP01Solver) Handler(extractParams func(*http.Request) map[string]string) http.Handler + func (p *HTTP01Solver) Present(domain, token, keyAuth string) error + type TestFixture struct + Client *Client + Pebble *testsupport.Pebble + func NewTestFixture(t *testing.T) (TestFixture, func()) + type User struct + Email string + PrivateKey crypto.PrivateKey + Registration *registration.Resource + func (u *User) GetEmail() string + func (u *User) GetPrivateKey() crypto.PrivateKey + func (u *User) GetRegistration() *registration.Resource + func (u *User) Register(lc *lego.Client) error