init commit
This commit is contained in:
16
server/web/router/router.go
Normal file
16
server/web/router/router.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user