//! Session management handlers use axum::{ extract::{State, Path}, response::Html, http::StatusCode, }; use sqlx::SqlitePool; #[derive(Clone)] pub struct AppState { pub pool: SqlitePool, } pub async fn session_list_handler(State(_state): State) -> Html { Html("

Sessions List

".to_string()) } pub async fn session_preview_handler( State(_state): State, Path(_session_id): Path, ) -> Result, (StatusCode, String)> { Ok(Html("

Session Preview

".to_string())) } pub async fn session_send_handler( State(_state): State, Path(_session_id): Path, ) -> Result, (StatusCode, String)> { Ok(Html("

Session Sent

".to_string())) }