acme/api: Add func name to beginning of comment

This commit is contained in:
David Cowden 2020-05-13 10:56:19 -07:00
parent 976c8f82c6
commit 5354906b9c

View file

@ -2,13 +2,14 @@ package api
import ( import (
"fmt" "fmt"
"net/http"
"github.com/go-chi/chi" "github.com/go-chi/chi"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/smallstep/certificates/acme" "github.com/smallstep/certificates/acme"
"github.com/smallstep/certificates/api" "github.com/smallstep/certificates/api"
"github.com/smallstep/certificates/authority/provisioner" "github.com/smallstep/certificates/authority/provisioner"
"github.com/smallstep/cli/jose" "github.com/smallstep/cli/jose"
"net/http"
) )
func link(url, typ string) string { func link(url, typ string) string {
@ -148,7 +149,7 @@ func (h *Handler) GetAuthz(w http.ResponseWriter, r *http.Request) {
api.JSON(w, authz) 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. // Potential Challenges are requested by the client when creating an order.
// Once the client knows the appropriate validation resources are provisioned, // Once the client knows the appropriate validation resources are provisioned,