constants

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_SERVICES_ADDR = "0.0.0.0"
View Source
const DEFAULT_SERVICES_PORT = 8085
View Source
const MAX_HISTORY = 50
View Source
const PTY_H = 100 // PTY height. Some applications refuse to work if width or height is 0
View Source
const PTY_W = 100 // PTY width.
View Source
const SERVICE_AUTHTOKEN_MAXAGE = 1800
View Source
const SERVICE_AUTH_PREFIX = "/__auth__/"
View Source
const SERVICE_COOKIE_MAXAGE = 86400 * 400
View Source
const SERVICE_COOKIE_NAME = "_ts_token"
View Source
const TG_FILES_MAX = 99 // if >= 100, also need to set sprintf wide formatter to %-3s
View Source
const TG_ROW_BUTTONS = 5
View Source
const TG_TEXT_LIMIT = 4096 // tg accepts message of max 4096 UTF-8 characters
View Source
const TIMEOUT_MESSAGE = 60 * 3 // Seconds. Ignore tg message which arrives too late

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL