2024-08-06 21:51:34 +02:00
|
|
|
package handlers
|
|
|
|
|
|
|
|
import (
|
2024-11-04 16:55:14 +01:00
|
|
|
"git.qowevisa.me/Qowevisa/fin-check-api/types"
|
2024-08-06 21:51:34 +02:00
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
)
|
|
|
|
|
|
|
|
// @Summary Ping
|
|
|
|
// @Description Pong
|
|
|
|
// @Tags user
|
|
|
|
// @Accept json
|
|
|
|
// @Produce json
|
|
|
|
// @Success 200 {object} types.Message
|
|
|
|
// @Router /ping [get]
|
|
|
|
func PingGet(c *gin.Context) {
|
2024-11-10 07:23:28 +01:00
|
|
|
c.JSON(200, types.Message{Info: "Pong!"})
|
2024-08-06 21:51:34 +02:00
|
|
|
}
|