()
| 415 | } |
| 416 | |
| 417 | func (c *Client) reconnect() bool { |
| 418 | c.muReconnect.Lock() |
| 419 | defer c.muReconnect.Unlock() |
| 420 | |
| 421 | return c.Reconnect |
| 422 | } |
| 423 | |
| 424 | // readLoop reads a message from websocket and processes it. |
| 425 | func (c *Client) readLoop() error { |
no outgoing calls
no test coverage detected