MCPcopy Create free account
hub / github.com/actix/examples / main

Function main

guards/src/main.rs:69–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67
68#[actix_web::main]
69async fn main() -> std::io::Result<()> {
70 HttpServer::new(create_app)
71 .bind(("127.0.0.1", 8080))?
72 .run()
73 .await
74}
75
76#[cfg(test)]
77mod tests {

Callers

nothing calls this directly

Calls 1

runMethod · 0.80

Tested by

no test coverage detected