Module server

Module server 

Source
Expand description

Unix socket IPC server for daemon communication.

Provides a simple request/response protocol over Unix domain sockets for communicating with the running daemon. Supports commands like status, stop, and stats.

Enums§

DaemonCommand
Commands that can be sent to the daemon via IPC.
DaemonResponse
Responses from the daemon to IPC commands.

Functions§

run_server
Runs the IPC server on the given Unix socket path.
send_command
Sends a command to the daemon and returns the response.
send_command_sync
Synchronous wrapper for sending a command to the daemon.