Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Conversation

@fhofherr
Copy link
Owner

No description provided.

Both types are required by the CertificateObtainer package. Thus, they
have to be defined in the acme and not the acmeclient package. The
acmeclient merely contains an (currently the only) implementaion of
CertificateObtainer.
With this commit acmeclient.HTTP01Solver now exposes a Handler function
which creates an http.Handler which serves the ACME challenge. This
leads to a gread reduction of code while still being agnostic to the
used HTTP router.
This uncovered a hole lot of problems with the tests which are fixed now
as well.
The name acme.Client clashed with acmeclient.Client. Both meant differnt
things. By renaming acme.Client to acme.User the distinction gets
clearer.
@fhofherr fhofherr merged commit 8b2e72a into master Oct 18, 2019
@fhofherr fhofherr deleted the 34-resolve-todos branch October 18, 2019 16:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants