This commit is contained in:
laodaming 2023-07-26 15:06:29 +08:00
parent ae58ebe35a
commit 34d5e62824

View File

@ -52,8 +52,8 @@ type wsConnectItem struct {
inChan chan []byte //接受消息缓冲通道 inChan chan []byte //接受消息缓冲通道
outChan chan []byte //发送回客户端的消息 outChan chan []byte //发送回客户端的消息
mutex sync.Mutex mutex sync.Mutex
renderImageTask map[string]struct{} //需要渲染的图片 renderImageTask map[string]struct{} //需要渲染的图片
renderImageTaskCtlChan chan renderImageControlChanItem renderImageTaskCtlChan chan renderImageControlChanItem //渲染任务新增移除的控制通道
} }
type renderImageControlChanItem struct { type renderImageControlChanItem struct {
Option int // 0删除 1添加 Option int // 0删除 1添加