Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "controllers/homeController"

Index

Functions

Functions

Const healthcheck

  • healthcheck(req: Request, res: Response): Response
  • If someone try to access /api/sync/division, that request processed in here.

    Parameters

    • req: Request

      If someone access with values like JSON data, that will be here.

    • res: Response

      When we have to return status and data, use this param.

    Returns Response

Const home

  • home(req: Request, res: Response): void
  • If someone try to access /, that request processed in here.

    Parameters

    • req: Request

      If someone access with values like JSON data, that will be here.

    • res: Response

      When we have to return status and data, use this param.

    Returns void

Generated using TypeDoc