Skip to content

Admin Control Plane

The admin module hosts operational management endpoints mounted on dedicated administrative paths. It provides endpoints for inspecting breaker states, querying active routes, reporting memory usage, and executing cache purges. The administrative plane is isolated from public traffic and protected by dedicated authentication rules.

SymbolKindSignaturePurpose
AdminDepsinterfaceinterface AdminDepsInterface export for AdminDeps.
AdminConfiginterfaceinterface AdminConfigInterface export for AdminConfig.
AdminControlPlaneclassclass AdminControlPlaneClass export for AdminControlPlane.

Mounts internal endpoints (/__admin/state, POST /__admin/cache/purge) with authentication protection.

  • src/admin/control-plane.ts