1 |
|
2 | import gridFSStream from 'gridfs-stream';
|
3 | import Koa from 'koa';
|
4 | import mongoose from 'mongoose';
|
5 | import net from 'net';
|
6 | import { IServerAppConfig } from './i-server-app-config';
|
7 | export declare class ServerApp {
|
8 | readonly config: IServerAppConfig;
|
9 | private _dbConn?;
|
10 | private _grid?;
|
11 | private _app;
|
12 | private _servers;
|
13 | constructor(config: IServerAppConfig, env?: string);
|
14 | readonly name: string;
|
15 | readonly dbConn: mongoose.Connection | undefined;
|
16 | readonly grid: gridFSStream.Grid | undefined;
|
17 | readonly app: Koa;
|
18 | readonly servers: net.Server[];
|
19 | env: string;
|
20 | start(): Promise<void>;
|
21 | }
|
22 | //# sourceMappingURL=server-app.d.ts.map |
\ | No newline at end of file |