Module server

Module server 

Source
Expand description

HTTP server module for serve mode.

This module provides a local HTTP server that serves the embedded web UI and exposes a REST API for SQL lineage analysis.

Re-exports§

pub use state::AppState;
pub use state::ServerConfig;

Modules§

api
REST API handlers for serve mode.
state
Shared application state for the server.

Functions§

build_router
Build the main router with all routes.
run_server
Run the HTTP server with embedded web UI.
scan_sql_files
Scan directories for SQL files, returning both file contents and modification times.