Files
app-api/internal/handler/health.go
T

19 lines
297 B
Go
Raw Normal View History

2026-05-21 15:20:12 +08:00
package handler
import (
"github.com/gin-gonic/gin"
"github.com/luxsin/app-api/internal/response"
)
type HealthHandler struct{}
func NewHealthHandler() *HealthHandler {
return &HealthHandler{}
}
func (h *HealthHandler) Check(c *gin.Context) {
response.OK(c, gin.H{
"status": "up",
})
}