feat: 添加健康检查
This commit is contained in:
9
health/health.go
Normal file
9
health/health.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package health
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
func HealthHandler(c *gin.Context) {
|
||||
c.JSON(200, gin.H{
|
||||
"message": "pong",
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user