diff --git a/client.go b/client.go index 1bb5aa8..990dbca 100644 --- a/client.go +++ b/client.go @@ -125,7 +125,10 @@ func (c *Client) readPump(ctx context.Context) { } } } +} + // writePump writes messages to the WebSocket connection. + func (c *Client) writePump(ctx context.Context) { ticker := time.NewTicker(pingPeriod) defer func() {