| 30 | } |
| 31 | |
| 32 | type clientSocket struct { |
| 33 | mu sync.RWMutex |
| 34 | id string |
| 35 | ns string |
| 36 | Handler |
| 37 | Transport |
| 38 | onDisconnect func() |
| 39 | } |
| 40 | |
| 41 | func newClientSocket(id, ns string, t Transport) *clientSocket { |
| 42 | return &clientSocket{ |
nothing calls this directly
no outgoing calls
no test coverage detected