Module server

Source

Structs§

WatchInfo

Enums§

DaemonRequest
DaemonResponse

Functions§

get_log_file
handle_list_watches
Returns a list of all current watches as a DaemonResponse::ListWatches.
handle_request
Handles a daemon request and sends the resulting DaemonResponse back to the client. All errors inside handlers are mapped to DaemonResponse::Error.
handle_rm_watch
Rm a watch by ID if it exists in the application state.
handle_stop_watch
Stops a watch by ID if it exists in the application state.
handle_up_watch
Run a watch by ID if it exists in the application state.