| 33 | } |
| 34 | |
| 35 | type socket struct { |
| 36 | mu sync.RWMutex |
| 37 | *clientSocket |
| 38 | ns *namespace |
| 39 | rooms map[string]struct{} |
| 40 | } |
| 41 | |
| 42 | func newSocket(ns *namespace, id string, t Transport) *socket { |
| 43 | return &socket{ |
nothing calls this directly
no outgoing calls
no test coverage detected