pub async fn start_admin_server(
addr: SocketAddr,
handler: Arc<ApiHandler>,
admin_api_key: String,
admin_auth_disabled: bool,
) -> Result<()>Expand description
Starts the admin HTTP server.
ยงArguments
addr- Socket address to bind (e.g., โ0.0.0.0:6191โ)handler- API handler with references to health, metrics, reloader, etc.admin_api_key- Required API key for authenticating admin operationsadmin_auth_disabled- Disables admin authentication (local-only)