Skip to main content

worker_report_page

Function worker_report_page 

Source
pub fn worker_report_page(
    service: &str,
    session: Option<AdminSession>,
    return_to: ReturnTo,
    pool: &State<DbPool>,
) -> Result<Template, AdminReject>
Expand description

The worker-fleet screen (HTML twin): the dispatcher’s registered workers for a service and their activity. Signed-in admins only (unauthenticated → sign-in page). 404 if the service is unknown. Relocated from bin/frontend.rs onto the pooled library surface.