Crate oxi_axum_helpers
source ·Macros§
- Router for static files.
Structs§
- Configuration for a PostgreSQL database.
Traits§
- Conversion to a
Result
with an error template. - Template that supports adding a user error message.
- Conversion of templates into an (error) response.
Functions§
- Extracts the environment variable
{program_name}_CONFIG_FILE
for the config file after convertingprogram_name
to uppercase and initializes the config. - Initializes the tracer.
- A graceful handler of a shutdown signal (like SIGTERM).