fix
This commit is contained in:
parent
45a179fc16
commit
dc7dc7e1b9
|
@ -6,7 +6,6 @@ import (
|
|||
"encoding/json"
|
||||
"fusenapi/constants"
|
||||
"fusenapi/utils/auth"
|
||||
"fusenapi/utils/id_generator"
|
||||
"fusenapi/utils/websocket_data"
|
||||
"net/http"
|
||||
"sync"
|
||||
|
@ -37,8 +36,6 @@ func NewDataTransferLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Data
|
|||
}
|
||||
|
||||
var (
|
||||
//全局websocketid生成器
|
||||
websocketIdGenerator = id_generator.NewWebsocketId(1)
|
||||
//临时缓存对象池
|
||||
buffPool = sync.Pool{
|
||||
New: func() interface{} {
|
||||
|
|
Loading…
Reference in New Issue
Block a user