2023-06-06 10:41:30 +02:00
|
|
|
package types
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
const (
|
2024-04-10 15:35:09 +02:00
|
|
|
HTTPTimeout = 30 * time.Second
|
2023-06-06 10:41:30 +02:00
|
|
|
HTTPShutdownTimeout = 3 * time.Second
|
2023-06-06 11:12:36 +02:00
|
|
|
TLSALPN01ChallengeType = "TLS-ALPN-01"
|
|
|
|
HTTP01ChallengeType = "HTTP-01"
|
2023-06-06 10:41:30 +02:00
|
|
|
|
|
|
|
JSONLogFormat = "json"
|
|
|
|
TextLogFormat = "text"
|
|
|
|
|
|
|
|
KeepAliveInterval = 60 * time.Second
|
|
|
|
MaxHostnameLength = 255
|
|
|
|
)
|