Crate sozu_command_lib
source ·Expand description
Tools and types used to communicate with Sōzu.
Modules§
- Custom buffer used for parsing within the Sōzu codebase.
- TLS certificates
- channels used for communication between main process and workers
- parse TOML config and generate requests from it
- custom made logging macros
- parse Requests
- Contains Rust types generated by
prost
using the protobuf definition incommand.proto
. - File descriptor readiness
- Helper functions around types received by Sōzu
- Helper functions around types sent by Sōzu
- sockets used to pass file descriptors
- A representation of Sōzu’s state
- A writer used for logging
Macros§
- log a debug with Sōzu’s custom log stack
- log an error with Sōzu’s custom log stack
- log a failure concerning an HTTP or TCP request
- write a log with a “FIXME” prefix on an info level
- log an info with Sōzu’s custom log stack
- log the success of an HTTP or TCP request
- write a log with the custom logger (used in other macros, do not use directly)
- log a failure concerning an HTTP or TCP request
- start a logger used in test environment
- log a trace with Sōzu’s custom log stack
- log a warning with Sōzu’s custom log stack
Enums§
- Used only when returning errors