mirror of
https://github.com/Quad4-Software/Reticulum-Go
synced 2026-08-29 23:48:44 -04:00
22 lines
508 B
Go
22 lines
508 B
Go
// SPDX-License-Identifier: Apache-2.0
|
|
// Copyright (c) 2024-2026 Quad4.io
|
|
|
|
package selfcheck
|
|
|
|
import "time"
|
|
|
|
const (
|
|
fileModePrivate = 0o600
|
|
dirModePrivate = 0o700
|
|
defaultTimeout = 45 * time.Second
|
|
daemonMaxTimeout = 45 * time.Second
|
|
logTailLines = 40
|
|
logLineMaxChars = 120
|
|
logTailMaxChars = 800
|
|
detailMaxChars = 200
|
|
|
|
nameIdentityFile = "identity/file"
|
|
nameSandboxApply = "sandbox/apply"
|
|
nameIdentityKeyring = "identity/keyring"
|
|
nameDaemonSmoke = "daemon/sandbox-smoke"
|
|
)
|