mirror of
https://github.com/screego/server.git
synced 2026-04-22 23:47:03 +08:00
9 lines
156 B
Go
9 lines
156 B
Go
package ws
|
|
|
|
type Connected struct{}
|
|
|
|
func (e Connected) Execute(rooms *Rooms, current ClientInfo) error {
|
|
rooms.connected[current.ID] = true
|
|
return nil
|
|
}
|