aa
This commit is contained in:
@@ -45,7 +45,7 @@ func init() {
|
|||||||
clientsHeart := make(map[string]*websocket.Conn)
|
clientsHeart := make(map[string]*websocket.Conn)
|
||||||
wsClient.Clients = clients
|
wsClient.Clients = clients
|
||||||
wsClient.ClientsHeart = clientsHeart
|
wsClient.ClientsHeart = clientsHeart
|
||||||
|
wsClient.s = new(sync.RWMutex)
|
||||||
go handleMessages()
|
go handleMessages()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user