This commit is contained in:
2026-06-11 15:49:13 +03:00
parent f1c6a7f0a9
commit e4f58c976c
7 changed files with 270 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
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()
}