19 lines
304 B
Go
19 lines
304 B
Go
package main
|
|
|
|
import (
|
|
docs "gitea.d3m0k1d.ru/hellreign/Control-plane/docs"
|
|
"github.com/gin-gonic/gin"
|
|
"github.com/swaggo/files"
|
|
"github.com/swaggo/gin-swagger"
|
|
)
|
|
|
|
func main() {
|
|
r := gin.Default()
|
|
r.GET("/health", func(c *gin.Context) {
|
|
c.JSON(200, gin.H{
|
|
"message": "OK",
|
|
})
|
|
})
|
|
r.Run()
|
|
}
|