2023-06-06 02:41:30 -06:00
|
|
|
package types
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
const (
|
|
|
|
HTTPReadTimeout = 30 * time.Second
|
|
|
|
HTTPShutdownTimeout = 3 * time.Second
|
2023-06-06 03:12:36 -06:00
|
|
|
TLSALPN01ChallengeType = "TLS-ALPN-01"
|
|
|
|
HTTP01ChallengeType = "HTTP-01"
|
2023-06-06 02:41:30 -06:00
|
|
|
|
|
|
|
JSONLogFormat = "json"
|
|
|
|
TextLogFormat = "text"
|
|
|
|
|
|
|
|
KeepAliveInterval = 60 * time.Second
|
|
|
|
MaxHostnameLength = 255
|
|
|
|
)
|