You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possibly change structure to below so we can efficiently get clients of a room.
type Room struct {
Id string
Name string
Clients map[string]*Client
Creator string
}
This can possibly improve performance in the clean up code when clients leaves the room.
When sending room data to customers only send [string,string].
The text was updated successfully, but these errors were encountered:
Possibly change structure to below so we can efficiently get clients of a room.
This can possibly improve performance in the clean up code when clients leaves the room.
When sending room data to customers only send [string,string].
The text was updated successfully, but these errors were encountered: