mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-05-18 16:28:08 +00:00
3e553eaf60
* Add chapter 4 code. * Add logger middleware. * Add env_logger. * Instrumented. * Test logs. * Introduce instrument. * Refactor handler. * Use TracingLogger. * Update. * Fix linter error.
6 lines
110 B
Rust
6 lines
110 B
Rust
use actix_web::HttpResponse;
|
|
|
|
pub async fn health_check() -> HttpResponse {
|
|
HttpResponse::Ok().finish()
|
|
}
|