Crate oxi_axum_helpers

source ·

Macros§

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 converting program_name to uppercase and initializes the config.
  • Initializes the tracer.
  • A graceful handler of a shutdown signal (like SIGTERM).