comDefine

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const BoxMainExit = "box_exit"
View Source
const ClientButtonDown = "c_btn_down"
View Source
const ClientButtonUp = "c_btn_up"
View Source
const ClientStatusBusy = "busy"
View Source
const ClientStatusIdle = "idle"
View Source
const ClientStatusOffline = "offline"
View Source
const ConfigFile = "/usr/local/uni-ledger/mbox-client/config.yaml"
View Source
const DummyFolder = "/tmp/dummy"
View Source
const FlagFileDisableReboot = "/tmp/uni-ledger/Reboot.disable"
View Source
const FlagFileWatchdog = "/tmp/uni-ledger/watchdog.check"
View Source
const JsonFps = "fps"
View Source
const JsonFrameSize = "size"
View Source
const JsonHeight = "height"
View Source
const JsonRawType = "raw"
View Source
const JsonTotalFrames = "frames"
View Source
const JsonWidth = "width"
View Source
const MaxFileSizeForHttps = 30 * 1024 * 1024 //30MB
View Source
const MaxFileSizeForTunnel = 300 * 1000
View Source
const MaxUploadRetry = 5
View Source
const MboxMasterKey = "" /* 392-byte string literal not displayed */
View Source
const MessageClientBeep = "server_beep"
View Source
const MessageClientButtonPress = "server_button"
View Source
const MessageClientCapture = "server_capture"
View Source
const MessageClientFile = "server_filerecv"
View Source
const MessageClientHdmiRxControl = "server_hdmirx_control"
View Source
const MessageClientLog = "client_log"
View Source
const MessageClientRecordStart = "server_record_start"
View Source
const MessageClientRecordStop = "server_record_stop"
View Source
const MessageClientRunCommand = "server_command"
View Source
const MessageClientStatus = "client_status"
View Source
const MessageClientUpdate = "server_update"
View Source
const MessageDeviceBufferStartFailed = "start buffer failed"
View Source
const MessageDeviceIsNotRecording = "device is not recording"
View Source
const MessageDeviceIsRecording = "device is recording"
View Source
const MessageServerAskRemoteEnable = "server_remote_help"
View Source
const MessageServerAskShakeHands = "server_shakehands"
View Source
const MessageServerAskStatus = "client_status"
View Source
const MessageServerFile = "server_filesend"
View Source
const MessageTypeRegisterClient = "client_message_for_register"
View Source
const MessageTypeRegisterRemote = "server_message_for_remote_register"
View Source
const MessageTypeRegisterResponse = "server_message_for_watchdog"
View Source
const MessageTypeWatchdogClient = "client_message_for_watchdog"
View Source
const MessageTypeWatchdogResponse = "server_message_for_watchdog"
View Source
const OverrideLongPress = "override_long"
View Source
const OverrideShortPress = "override_short"
View Source
const PermDocument = 0600
View Source
const PlatformBPIW2 = "bpi-w2"
View Source
const PlatformDescribeFile = "/etc/platform"
View Source
const PlatformEmulator1 = "emulator1"
View Source
const PlatformEmulatorYUYV = "emulatorYUYV"
View Source
const PlatformJetsonTx2 = "jtx2"
View Source
const PlatformPCX9222 = "pcx-9222-1"
View Source
const PlatformPCX9268 = "pcx-9268-1"
View Source
const PlatformUnknown = "platform_unknown"
View Source
const RawTypeNV12 = "nv12"
View Source
const RawTypeYUYV = "yuyv"
View Source
const RxCommandDeviceBufferStart = "server_hdmirx_start"
View Source
const RxCommandDeviceBufferStop = "server_hdmirx_stop"
View Source
const RxCommandDeviceClose = "server_hdmirx_close"
View Source
const RxCommandDeviceCooldown = "server_hdmirx_cooldown"
View Source
const RxCommandDeviceOpen = "server_hdmirx_open"
View Source
const RxCommandDeviceResolution = "server_hdmi_resolution"
View Source
const RxCommandDeviceWarmUp = "server_hdmirx_warmup"
View Source
const ScriptWatchdog = "/tmp/uni-ledger/watchdog.script"
View Source
const ServerCallbackRegister = "server_token"
View Source
const ServerInvalidToken = "invalid"
View Source
const ServerResponseFileAlreadyExist = "file_already_exist"
View Source
const ServerResponseFileNotInList = "file_not_in_list"
View Source
const TaskDescribeFile = "task.yaml"
View Source
const TimeFormat = "20060102150405"
View Source
const TimeFormatLog = "2006/01/02 15:04:05"
View Source
const UploadCoworker = 4
View Source
const VideoRawDescribeFile = "data.yaml"
View Source
const WatchdogRebootCount = "/usr/local/uni-ledger/rebootcount"

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugLevel

type DebugLevel int
const (
	DebugAll   DebugLevel = iota
	DebugTrace DebugLevel = iota
	DebugDebug DebugLevel = iota
	DebugInfo  DebugLevel = iota
	DebugWarn  DebugLevel = iota
	DebugError DebugLevel = iota
	DebugFatal DebugLevel = iota
	DebugOff   DebugLevel = iota
)

Jump to

Keyboard shortcuts

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