Skip to main content

Module control

Module control 

Source
Expand description

Control socket for runtime management and observability.

Provides a control interface that accepts commands and returns structured JSON responses. Supports both read-only queries (show_*) and mutating commands (connect, disconnect).

Platform-specific implementations:

  • Unix: Uses a Unix domain socket for local IPC
  • Windows: Uses a TCP socket on localhost (see commit 3)

Modules§

commands
Mutating control socket commands.
protocol
Control socket protocol types.
queries
Control query implementations.

Structs§

ControlSocket
Control socket listener (Unix domain socket).

Type Aliases§

ControlMessage
A message sent from the accept loop to the main event loop.