Expand description
Provides the server route builder.
It includes discovery endpoints and applies the federation setting.
Re-exportsยง
use axum::Router;๐use axum::response::IntoResponse;๐use axum::routing::any;๐use axum::routing::get;๐use tuwunel_api::router::RouterExt;๐use tuwunel_core::Server;๐use tuwunel_core::err;๐use crate as federation;๐use crate::State;๐
Functionsยง
- build
- Builds the server endpoint routes.
- federation_
disabled ๐ - register_
federation_ ๐routes - register_
server_ ๐misc_ routes