(clientService service.ClientService)
| 20 | } |
| 21 | |
| 22 | func NewClientController(clientService service.ClientService) ClientController { |
| 23 | return &clientController{ |
| 24 | clientService: clientService, |
| 25 | } |
| 26 | } |
| 27 | func (c *clientController) CheckUpdate(ctx *fiber.Ctx) error { |
| 28 | environmentKey := ctx.Query("deployment_key") |
| 29 | appVersion := ctx.Query("app_version") |