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

Class Index

templating/askama/src/main.rs:15–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#[derive(Template)]
14#[template(path = "index.html")]
15struct Index;
16
17async fn index(query: web::Query<HashMap<String, String>>) -> Result<impl Responder> {
18 let html = if let Some(name) = query.get("name") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected