Versions in this module Expand all Collapse all v1 v1.0.1 Nov 6, 2020 Changes in this version + const DATA_CHAN_MAX_LEN + func ConnectionManagerInit() + type AppConnection struct + Connections cmap.ConcurrentMap + type Connection struct + Conn *websocket.Conn + DataCh chan []byte + WsConnectInfo *proto.WsConnectInfo + type ConnectionManager struct + AppMap cmap.ConcurrentMap + ConnectionMap cmap.ConcurrentMap + LastEnterTime int64 + LiveMap cmap.ConcurrentMap + Mutex *sync.Mutex + func GetConnectionManager() *ConnectionManager + func (c *ConnectionManager) ClearConnection(connection *Connection) + func (c *ConnectionManager) DeleteAppMap(sessionID, appID string) + func (c *ConnectionManager) DeleteConnection(sessionID string) + func (c *ConnectionManager) DeleteLiveMap(sessionID, liveID string) + func (c *ConnectionManager) GetAppConnection(appID string) *AppConnection + func (c *ConnectionManager) GetConnection(sessionID string) *Connection + func (c *ConnectionManager) GetRommConnection(liveID string) *RoomConnection + func (c *ConnectionManager) NewConnection(con *websocket.Conn, wsConnInfo *proto.WsConnectInfo) *Connection + type RoomConnection struct + Connections cmap.ConcurrentMap