Skip to main content

doctor

Function doctor 

Source
pub fn doctor(
    config: &ProxyConfig,
    env: impl Fn(&str) -> Option<String>,
) -> DoctorReport
Expand description

Validate a loaded config against the environment: routing sanity, provider key presence, and that every configured gate’s command actually exists. env looks up environment variables (injected so this is testable).