添加代理与节点的注册与端口分配接口功能
This commit is contained in:
@@ -62,4 +62,12 @@ func ApplyRouters(app *fiber.App) {
|
||||
// 公告
|
||||
announcement := api.Group("/announcement")
|
||||
announcement.Post("/list", handlers.ListAnnouncements)
|
||||
|
||||
// 网关
|
||||
proxy := api.Group("/proxy")
|
||||
proxy.Post("/online", handlers.OnlineProxy)
|
||||
|
||||
// 节点
|
||||
edge := api.Group("/edge")
|
||||
edge.Post("/online", handlers.OnlineEdge)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user