Crate stund_protocol
source ·Expand description
The stund client-server communication protocol.
Stund is a simple daemon for maintaining SSH tunnels. This crate defines the communication protocol used between the CLI client and the daemon that acts as the parent to SSH processes.
The protocol only has a handful of commands at the moment. These are
defined in this main module. The client
submodule implements the
client protocol.
Modules
Structs
Parameters to the “Close” command.
Parameters to the “Open” command.
Information about the current status of the server.
Information about a single tunnel opened by the server.
Enums
A message that the client may send to the server.
Possible outcomes of the “Close” command.
Possible outcomes of the “Open” command.
A message that the server may send to the client.
The state of a single tunnel opened by the server.
Functions
Get the path to the Unix domain socket used for client/server communication.