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 ¶
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.
Click to show internal directories.
Click to hide internal directories.