package modules import ( "github.com/gin-gonic/gin" "schisandra-cloud-album/api" ) var websocketAPI = api.Api.WebsocketApi func WebsocketRouter(router *gin.RouterGroup) { group := router.Group("/ws") { group.GET("/gws", websocketAPI.NewGWSServer) } }