+
+ api.A1MediatorA1ControllerGetHealthcheckHandler = a1_mediator.A1ControllerGetHealthcheckHandlerFunc(func(param a1_mediator.A1ControllerGetHealthcheckParams) middleware.Responder {
+ a1.Logger.Debug("handler for get Health Check of A1")
+ resp := r.rh.GetA1Health()
+ if resp == false {
+ return a1_mediator.NewA1ControllerGetHealthcheckInternalServerError()
+ }
+ return a1_mediator.NewA1ControllerGetHealthcheckOK()
+ })
+