2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 09:13:49 +08:00

refactor: 面板websocket

This commit is contained in:
耗子
2024-10-20 22:14:11 +08:00
parent 892f91be3e
commit ff239c467a
14 changed files with 320 additions and 214 deletions

View File

@@ -80,6 +80,7 @@ func (t *Turn) Handle(context context.Context) error {
default:
_, data, err := t.ws.ReadMessage()
if err != nil {
// 通常是客户端关闭连接
return fmt.Errorf("reading ws message err: %v", err)
}