forked from TrueCloudLab/certificates
acme/api: Add func name to beginning of comment
This commit is contained in:
parent
976c8f82c6
commit
5354906b9c
1 changed files with 3 additions and 2 deletions
|
@ -2,13 +2,14 @@ package api
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/go-chi/chi"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/smallstep/certificates/acme"
|
||||
"github.com/smallstep/certificates/api"
|
||||
"github.com/smallstep/certificates/authority/provisioner"
|
||||
"github.com/smallstep/cli/jose"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func link(url, typ string) string {
|
||||
|
@ -148,7 +149,7 @@ func (h *Handler) GetAuthz(w http.ResponseWriter, r *http.Request) {
|
|||
api.JSON(w, authz)
|
||||
}
|
||||
|
||||
// ACME api for retrieving the Challenge resource.
|
||||
// GetChallenge is the ACME api for retrieving a Challenge resource.
|
||||
//
|
||||
// Potential Challenges are requested by the client when creating an order.
|
||||
// Once the client knows the appropriate validation resources are provisioned,
|
||||
|
|
Loading…
Reference in a new issue