feat:传输文件优化

This commit is contained in:
MatrixSeven
2025-08-02 23:11:45 +08:00
parent 3a4a762cc9
commit 324408f6b2
22 changed files with 651 additions and 172 deletions

View File

@@ -58,6 +58,10 @@ func main() {
r.Post("/api/create-text-room", h.CreateTextRoomHandler)
r.Get("/api/get-text-content", h.GetTextContentHandler)
// 文件传输API路由
r.Post("/api/create-room", h.CreateRoomHandler)
r.Get("/api/room-info", h.RoomInfoHandler)
// 启动服务器
srv := &http.Server{
Addr: ":8080",