Skip to main content

Module control

Module control 

Source
Expand description

Gateway control socket for runtime status queries.

Provides a Unix domain socket that accepts JSON commands and returns structured responses. Uses the same line-delimited JSON protocol as the daemon control socket: one JSON line in, one JSON line out, then close.

Structs§

GatewayControlSocket
Gateway control socket listener.
GatewaySnapshot
Snapshot of gateway state published by the main loop.
SnapshotConfig
Static gateway configuration for snapshot building.

Constants§

GATEWAY_SOCKET_PATH
Socket path for the gateway control socket.

Functions§

build_snapshot
Build a GatewaySnapshot from current component state.