()
| 5 | private constructor() {} |
| 6 | |
| 7 | public static getInstance(): HealthController { |
| 8 | if (!HealthController.instance) { |
| 9 | HealthController.instance = new HealthController(); |
| 10 | } |
| 11 | return HealthController.instance; |
| 12 | } |
| 13 | |
| 14 | public async GetHealth(req: Request, res: Response, next: NextFunction) { |
| 15 | try { |
nothing calls this directly
no outgoing calls
no test coverage detected