boot

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TEventFlushInterval is the time between automatic flushes of telemetry events (1 hour)
	TEventFlushInterval = time.Hour

	// TEventTickInterval is the time between ticker checks for telemetry events (5 minutes)
	TEventTickInterval = 5 * time.Minute

	// TEventMaxBufferSize is the maximum number of events to buffer before forcing a flush
	TEventMaxBufferSize = 300
)

Variables

This section is empty.

Functions

func RunServer

func RunServer(config CLIConfig) error

RunServer initializes and runs the Outrig server

Types

type CLIConfig

type CLIConfig struct {
	// Port overrides the default web server port if non-zero
	Port int
	// CloseOnStdin indicates whether the server should shut down when stdin is closed
	CloseOnStdin bool
	// TrayAppPid is the PID of the tray application that started the server (0 if not from tray)
	TrayAppPid int
}

CLIConfig holds configuration options passed from the command line

type PacketUnmarshalHelper

type PacketUnmarshalHelper struct {
	Type string          `json:"type"`
	Data json.RawMessage `json:"data"`
}

PacketUnmarshalHelper is the envelope for incoming JSON packets.

Jump to

Keyboard shortcuts

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