feat: health check

This commit is contained in:
2025-06-17 19:56:43 +03:00
parent 8258ac0ad4
commit 0b03c6ad90
3 changed files with 27 additions and 7 deletions

View File

@@ -0,0 +1,14 @@
package serviceController
import (
"github.com/gin-gonic/gin"
)
func SetupRoutes(r *gin.Engine) *gin.Engine {
serviceGroup := r.Group("/service")
serviceGroup.GET("/health", HealthCheck)
return r
}