Expand description
Common HTTP handlers
Structs§
- Health
Handler - Health check handler struct for more complex health checks
- Metrics
Response - Metrics endpoint response
- NotFound
Handler - Not found handler with customizable response
Functions§
- health_
check - Health check handler
- internal_
error - Generic error handler
- liveness
- Liveness probe handler
- method_
not_ allowed - Method not allowed handler
- metrics
- Metrics handler (basic implementation)
- not_
found - 404 Not Found handler
- readiness
- Readiness probe handler