(msg: ProtoBuf<MyObj>)
| 12 | } |
| 13 | |
| 14 | async fn index(msg: ProtoBuf<MyObj>) -> Result<HttpResponse> { |
| 15 | log::info!("model: {msg:?}"); |
| 16 | HttpResponse::Ok().protobuf(msg.0) // <- send response |
| 17 | } |
| 18 | |
| 19 | #[actix_web::main] |
| 20 | async fn main() -> std::io::Result<()> { |
nothing calls this directly
no outgoing calls
no test coverage detected