This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Files
schisandra-cloud-album/router/modules/websocket_router.go
2024-09-29 15:46:35 +08:00

17 lines
290 B
Go

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