UNPKG

microframe-ts

Version:

Typescript framework for creating microservices.

20 lines (19 loc) 560 B
import { Application } from 'express'; import { IController } from './controller'; /** * Manages an Express Application, and API Controllers. */ export declare class ApiManager { app: Application; private readonly port; private controllers; private readonly logger; constructor(port: number, controllers: IController[]); /** * Triggers the Express Application to start listening for requests. */ Listen(): void; private InitMiddleware; private InitControllers; } export * from './controller';