MCPcopy Index your code
hub / github.com/screego/server / Join

Struct Join

ws/event_join.go:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected