添加代理与节点的注册与端口分配接口功能

This commit is contained in:
2025-05-13 09:29:13 +08:00
parent 957d9ef443
commit 60df1548f0
17 changed files with 692 additions and 464 deletions

View File

@@ -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)
}