mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 16:00:51 +00:00
17 lines
312 B
Go
17 lines
312 B
Go
package v2
|
|
|
|
import (
|
|
"github.com/1Panel-dev/1Panel/agent/app/api/v2/helper"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// @Tags Health
|
|
// @Summary Check health
|
|
// @Success 200
|
|
// @Security ApiKeyAuth
|
|
// @Security Timestamp
|
|
// @Router /health/check [get]
|
|
func (b *BaseApi) CheckHealth(c *gin.Context) {
|
|
helper.Success(c)
|
|
}
|