Golint fixes to builds work

This commit is contained in:
Roland Shoemaker 2015-10-18 18:59:05 -07:00
parent bb00d5c0d3
commit 6171420108
4 changed files with 7 additions and 7 deletions

View File

@ -97,10 +97,10 @@ const (
ChallengeTypeDNS01 = "dns-01" ChallengeTypeDNS01 = "dns-01"
) )
// The suffix appended to pseudo-domain names in DVSNI challenges // TLSSNISuffix is appended to pseudo-domain names in DVSNI challenges
const TLSSNISuffix = "acme.invalid" const TLSSNISuffix = "acme.invalid"
// The label attached to DNS names in DNS challenges // DNSPrefix is attached to DNS names in DNS challenges
const DNSPrefix = "_acme-challenge" const DNSPrefix = "_acme-challenge"
func (pd *ProblemDetails) Error() string { func (pd *ProblemDetails) Error() string {

View File

@ -98,7 +98,7 @@ type SyntaxError struct{}
// Internet. // Internet.
type NonPublicError struct{} type NonPublicError struct{}
// TLDError indicates that one or more identifiers was an ICANN-managed TLD // ErrICANNTLD indicates that one or more identifiers was an ICANN-managed TLD
var ErrICANNTLD = errors.New("Name is an ICANN TLD") var ErrICANNTLD = errors.New("Name is an ICANN TLD")
// ErrBlacklisted indicates we have blacklisted one or more of these // ErrBlacklisted indicates we have blacklisted one or more of these

View File

@ -26,9 +26,9 @@ import (
blog "github.com/letsencrypt/boulder/log" blog "github.com/letsencrypt/boulder/log"
) )
// 10 month default authorization lifetime. When used with a 90-day cert // DefaultAuthorizationLifetime is the 10 month default authorization lifetime.
// lifetime, this allows creation of certs that will cover a whole year, // When used with a 90-day cert lifetime, this allows creation of certs that will
// plus a grace period of a month. // cover a whole year, plus a grace period of a month.
// TODO(jsha): Read from a config file. // TODO(jsha): Read from a config file.
const DefaultAuthorizationLifetime = 300 * 24 * time.Hour const DefaultAuthorizationLifetime = 300 * 24 * time.Hour

View File

@ -36,7 +36,7 @@ const maxRedirect = 10
var validationTimeout = time.Second * 5 var validationTimeout = time.Second * 5
// Returned by CheckCAARecords if it has to follow too many // ErrTooManyCNAME is returned by CheckCAARecords if it has to follow too many
// consecutive CNAME lookups. // consecutive CNAME lookups.
var ErrTooManyCNAME = errors.New("too many CNAME/DNAME lookups") var ErrTooManyCNAME = errors.New("too many CNAME/DNAME lookups")