Satisfy golangci-lint

This commit is contained in:
Herman Slatman 2021-11-12 17:13:10 +01:00
parent 42f56d6906
commit 29f9730485
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F
2 changed files with 8 additions and 3 deletions

View File

@ -26,8 +26,11 @@ import (
type ChallengeType string
const (
HTTP01 ChallengeType = "http-01"
DNS01 ChallengeType = "dns-01"
// HTTP01 is the http-01 ACME challenge type
HTTP01 ChallengeType = "http-01"
// DNS01 is the dns-01 ACME challenge type
DNS01 ChallengeType = "dns-01"
// TLSALPN01 is the tls-alpn-01 ACME challenge type
TLSALPN01 ChallengeType = "tls-alpn-01"
)

View File

@ -17,7 +17,9 @@ import (
type IdentifierType string
const (
IP IdentifierType = "ip"
// IP is the ACME ip identifier type
IP IdentifierType = "ip"
// DNS is the ACME dns identifier type
DNS IdentifierType = "dns"
)