use export::http::Router; use crate::bootstrap::Deps; pub fn router(deps: &Deps) -> Router<()> { chat::routes::router(deps.chat.clone()).with_state(deps.chat.clone()) } pub fn internal(deps: &Deps) -> Router<()> { chat::routes::internal_router(deps.chat.clone()).with_state(deps.chat.clone()) }