首次提交:初始化项目代码

This commit is contained in:
sunct
2026-07-31 14:44:48 +08:00
commit a4fe393571
119 changed files with 29105 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package router
import "github.com/gin-gonic/gin"
func (r *Router) setupIMRoutes(api *gin.RouterGroup) {
imGroup := api.Group("/im")
{
imGroup.GET("/ws", r.imHandler.WebSocket)
imGroup.POST("/chat", r.imHandler.Chat)
imGroup.POST("/chat/stream", r.imHandler.ChatStream)
}
}