mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-10-31 14:15:50 +00:00 
			
		
		
		
	feat: add health check command
This commit is contained in:
		| @@ -13,8 +13,8 @@ func NewHealthController(router *gin.RouterGroup) *HealthController { | ||||
| } | ||||
|  | ||||
| func (controller *HealthController) SetupRoutes() { | ||||
| 	controller.router.GET("/health", controller.healthHandler) | ||||
| 	controller.router.HEAD("/health", controller.healthHandler) | ||||
| 	controller.router.GET("/healthz", controller.healthHandler) | ||||
| 	controller.router.HEAD("/healthz", controller.healthHandler) | ||||
| } | ||||
|  | ||||
| func (controller *HealthController) healthHandler(c *gin.Context) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stavros
					Stavros