This commit is contained in:
laodaming
2023-10-11 18:06:40 +08:00
parent 90277394fa
commit e77638b0e1
2 changed files with 19 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
package websocket_data
// 基础连接成功返回
type ConnectSuccessMsg struct {
Wid string `json:"wid"`
}
// 连接失败
type ConnectErrMsg struct {
Message string `json:"message"`
}
// 未授权
type ConnectUnAuth struct {
Message string `json:"message"`
}