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§
- Close
Parameters - Parameters to the “Close” command.
- Open
Parameters - Parameters to the “Open” command.
- Status
Information - Information about the current status of the server.
- Tunnel
Information - Information about a single tunnel opened by the server.
Enums§
- Client
Message - A message that the client may send to the server.
- Close
Result - Possible outcomes of the “Close” command.
- Open
Result - Possible outcomes of the “Open” command.
- Server
Message - A message that the server may send to the client.
- Tunnel
State - The state of a single tunnel opened by the server.
Functions§
- get_
socket_ path - Get the path to the Unix domain socket used for client/server communication.