()
| 6 | |
| 7 | #[tokio::main] |
| 8 | async fn main() -> Result<(), Error> { |
| 9 | tracing::init_default_subscriber(); |
| 10 | let func = service_fn(func); |
| 11 | lambda_runtime::spawn_graceful_shutdown_handler(|| async move {}).await; |
| 12 | lambda_runtime::run(func).await?; |
| 13 | Ok(()) |
| 14 | } |
| 15 | |
| 16 | async fn func(_event: LambdaEvent<ApiGatewayProxyRequest>) -> Result<ApiGatewayProxyResponse, Error> { |
| 17 | let mut headers = HeaderMap::new(); |
nothing calls this directly
no test coverage detected