Skip to main content

Crate tuitbot_server

Crate tuitbot_server 

Source
Expand description

Tuitbot HTTP API server.

Exposes tuitbot-core’s storage layer as a REST API with read + write endpoints, local bearer-token auth, and a WebSocket for real-time events.

Modules§

account
Account context extraction and role-based access control.
auth
Local bearer-token authentication for the tuitbot API server.
error
API error types for the tuitbot server.
routes
Route modules for the tuitbot API server.
state
Shared application state for the tuitbot server.
ws
WebSocket hub for real-time event streaming.

Functions§

build_router
Build the complete axum router with all API routes and middleware.