Module protocol

Module protocol 

Source
Expand description

JSON-RPC–style control protocol between the CLI and the daemon.

Messages are newline-delimited JSON frames exchanged over a Unix socket.

Structs§

FileEntry
A single file entry returned by ControlRequest::ListFiles.
FlockData
GetFileData
Returned by ControlRequest::GetFile.
HatchData
InviteData
Returned by ControlRequest::CreateInvite.
LeaveData
Returned by ControlRequest::Leave.
ListFilesData
Returned by ControlRequest::ListFiles.
NetworkQosSummary
High-level QoS summary for the connected network peers.
PouchStat
Storage statistics for a single local Pouch service.
PutFileData
Returned by ControlRequest::PutFile.
StatusData
StorageInfoData
Returned by ControlRequest::StorageInfo.

Enums§

ControlRequest
Request sent from CLI → daemon.
ControlResponse
Response sent from daemon → CLI.