tunasync/tests/httpServer.go
Shengqi Chen ef32197fef
Run go fmt
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-11 16:00:34 +08:00

19 lines
275 B
Go

//go:build ignore
// +build ignore
package main
import (
"net/http"
"github.com/gin-gonic/gin"
)
func main() {
s := gin.Default()
s.GET("/", func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"msg": "passed"})
})
s.RunTLS(":5002", "manager.crt", "manager.key")
}