mock websocket connection
| 136 | |
| 137 | // mock websocket connection |
| 138 | type mockWebsocketConn struct { |
| 139 | subprotocol string |
| 140 | closeError error |
| 141 | readMsgErr error |
| 142 | writeMsgErr error |
| 143 | readDlError error |
| 144 | writeDlError error |
| 145 | msgType int |
| 146 | msg []byte |
| 147 | } |
| 148 | |
| 149 | func (mc *mockWebsocketConn) Subprotocol() string { |
| 150 | return mc.subprotocol |
nothing calls this directly
no outgoing calls
no test coverage detected