This commit is contained in:
laodaming
2023-07-24 19:44:28 +08:00
parent 25c3de6b99
commit 5fadf0697d
2 changed files with 41 additions and 5 deletions

11
constants/websocket.go Normal file
View File

@@ -0,0 +1,11 @@
package constants
type websocket string
// websocket消息类型
const (
//ws连接成功
WEBSOCKET_CONNECT_SUCCESS = "connect-success"
//图片渲染
WEBSOCKET_RENDER_IMAGE = "render-image"
)