WebsocketSession represents a sockjs.Session over a websocket connection.
| 72 | // WebsocketSession represents a sockjs.Session over |
| 73 | // a websocket connection. |
| 74 | type WebsocketSession struct { |
| 75 | id string |
| 76 | messages []string |
| 77 | closed int32 |
| 78 | req *http.Request |
| 79 | |
| 80 | mu sync.Mutex |
| 81 | conn *websocket.Conn |
| 82 | state sockjs.SessionState |
| 83 | } |
| 84 | |
| 85 | var _ sockjs.Session = (*WebsocketSession)(nil) |
| 86 |
nothing calls this directly
no outgoing calls
no test coverage detected