ironshield_api/
constant.rs1pub const VERSION: &str = env!("CARGO_PKG_VERSION");
2pub const SERVICE_NAME: &str = "ironshield-api";
3pub const HEALTH_ENDPOINT: &str = "/health";
4pub const REQUEST_ENDPOINT: &str = "/request";
5pub const RESPONSE_ENDPOINT: &str = "/response";
6
7pub const STATUS_OK: u16 = 200;
8pub const STATUS_OK_MSG: &str = "Served response successfully.";
9pub const STATUS_BAD_REQUEST: u16 = 400;
10pub const STATUS_UNAUTHORIZED: u16 = 401;
11pub const STATUS_FORBIDDEN: u16 = 403;
12pub const STATUS_NOT_FOUND: u16 = 404;
13pub const STATUS_INTERNAL_SERVER_ERROR: u16 = 500;