init commit

This commit is contained in:
2025-02-19 14:23:58 +08:00
commit 10a4f010ce
34 changed files with 1340 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package router
import (
"github.com/gin-gonic/gin"
"proxy-server/server/web/app/handlers"
)
func Apply(r *gin.Engine) {
r.POST("/node/register", handlers.NodeRegister)
r.POST("/node/report", handlers.NodeReport)
r.POST("/chan/request", handlers.ChanRequest)
r.POST("/chan/auth", handlers.ChanAuth)
r.POST("/chan/test", handlers.ChanTest)
}