Files
go-gin-api/internal/web/controller/tool_handler/func_websocketview.go
T
新亮 17be120c06 feature(1.2.8): 新增 websocket 模块
- import gorilla/websocket
- 新增 实用工具箱->WebSocket 栏目
2021-09-20 19:18:15 +08:00

12 lines
211 B
Go

package tool_handler
import (
"github.com/xinliangnote/go-gin-api/internal/pkg/core"
)
func (h *handler) WebsocketView() core.HandlerFunc {
return func(c core.Context) {
c.HTML("tool_websocket", nil)
}
}