package types import "time" const ( HTTPTimeout = 30 * time.Second HTTPShutdownTimeout = 3 * time.Second TLSALPN01ChallengeType = "TLS-ALPN-01" HTTP01ChallengeType = "HTTP-01" DNS01ChallengeType = "DNS-01" JSONLogFormat = "json" TextLogFormat = "text" MaxHostnameLength = 255 ) // Bounds on what a client reports, applied by [BoundHostinfo] and // [BoundMapRequest]. They sit far above what a stock client sends. const ( MaxReportedListLen = 256 MaxRoutableIPs = 4096 MaxHostinfoSize = 64 << 10 )