This commit is contained in:
laodaming
2023-08-23 15:08:45 +08:00
parent be6b6a5076
commit b91c8d75f0
36 changed files with 317 additions and 75 deletions

View File

@@ -1,9 +1,11 @@
package websocket_data
import "fusenapi/constants"
// websocket数据交互
type DataTransferData struct {
T string `json:"t"` //消息类型
D interface{} `json:"d"` //传递的消息
T constants.Websocket `json:"t"` //消息类型
D interface{} `json:"d"` //传递的消息
}
// websocket接受要云渲染处理的数据