UNPKG

@sentzunhat/zacatl

Version:

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

15 lines 481 B
import type { HookHandler, RouteHandler } from '../../../layers/application'; export interface ProxyConfig { upstream: string; prefix: string; rewritePrefix?: string; http2?: boolean; } export interface ApiServerPort { registerRoute(handler: RouteHandler): void; registerHook(handler: HookHandler): void; registerProxy(config: ProxyConfig): void; listen(port: number): Promise<void>; getRawServer(): unknown; } //# sourceMappingURL=port.d.ts.map