This commit is contained in:
laodaming 2023-09-04 12:22:47 +08:00
parent 87ceda11c0
commit 0eedcdb7c2

View File

@ -107,13 +107,6 @@ type wsConnectItem struct {
extendRenderProperty extendRenderProperty //扩展云渲染属性(扩展属性)
}
func init() {
for {
time.Sleep(time.Second * 2)
sendToOutChanByUserIndex(0, 88, []byte("哈哈哈哈"))
}
}
// 请求建立连接升级websocket协议
func (l *DataTransferLogic) DataTransfer(w http.ResponseWriter, r *http.Request) {
//把子协议携带的token设置到标准token头信息中