mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-27 01:13:05 +00:00
1704977e76
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
16 lines
314 B
Go
16 lines
314 B
Go
package types
|
|
|
|
import "time"
|
|
|
|
const (
|
|
HTTPTimeout = 30 * time.Second
|
|
HTTPShutdownTimeout = 3 * time.Second
|
|
TLSALPN01ChallengeType = "TLS-ALPN-01"
|
|
HTTP01ChallengeType = "HTTP-01"
|
|
|
|
JSONLogFormat = "json"
|
|
TextLogFormat = "text"
|
|
|
|
KeepAliveInterval = 60 * time.Second
|
|
MaxHostnameLength = 255
|
|
)
|