MCPcopy Create free account
hub / github.com/RemoteState/nodejs-ecs / getInstance

Method getInstance

src/controller/usersController.ts:10–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 private constructor() {}
9
10 public static getInstance(): UsersController {
11 if (!UsersController.instance) {
12 UsersController.instance = new UsersController();
13 }
14 return UsersController.instance;
15 }
16
17 public async SayHelloEveryOne(req: Request, res: Response, next: NextFunction) {
18 const body = req.body as SampleArrayRequestBody[];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected