Skip to main content

Module protocol

Module protocol 

Source
Expand description

Client-daemon protocol over Unix domain sockets.

Messages are newline-delimited JSON. The client sends a Request and the daemon replies with a Response.

Structs§

FanAssignmentInfo
Fan assignment info sent in status messages.

Enums§

Request
Response

Functions§

decode
Decode a message from a JSON string (newline-trimmed).
encode
Encode a message as a newline-delimited JSON string.