| 11 | } |
| 12 | |
| 13 | type Join struct { |
| 14 | ID string `json:"id"` |
| 15 | UserName string `json:"username,omitempty"` |
| 16 | } |
| 17 | |
| 18 | func (e *Join) Execute(rooms *Rooms, current ClientInfo) error { |
| 19 | if rooms.connected[current.ID] != "" { |
nothing calls this directly
no outgoing calls
no test coverage detected