mirror of
https://github.com/MatrixSeven/file-transfer-go.git
synced 2026-02-24 07:44:44 +08:00
支持多人加入/下载
This commit is contained in:
@@ -53,6 +53,8 @@ func main() {
|
||||
// API路由
|
||||
r.Post("/api/create-room", h.CreateRoomHandler)
|
||||
r.Get("/api/room-info", h.GetRoomInfoHandler)
|
||||
r.Get("/api/room-status", h.GetRoomStatusHandler)
|
||||
r.Post("/api/update-room-files", h.UpdateRoomFilesHandler)
|
||||
|
||||
// 启动服务器
|
||||
srv := &http.Server{
|
||||
|
||||
Reference in New Issue
Block a user