mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-19 21:32:49 +00:00
ebc74e3168
* Gateway: Fix gateway reconnect This commit uses the correct timeout, Gateway.ReconnectTimeout, when reconnecting. Furthermore, it adds a delay between consecutive, failed reconnects. * Gateway: Stop pacemaker when calling Gateway.CloseGracefully * API: remove unnecessary leading/trailing whitespaces * Gateway: Add Gateway.OnScalingRequired callback * Gateway: Make all user initiated user closures graceful and ensure that closures are respected during reconnects * Gateway: Fix typo * Gateway: Add Gateway.ReconnectAttempts and deprecate .ReconnectTimeout * Gateway: Add Gateway.Pause and reexport .Reconnect and .ReconnectCtx * Gateway: Improve the Gateway.OnShardingRequired docs * Wsutil: Code cleanup |
||
---|---|---|
.. | ||
conn.go | ||
heart.go | ||
op.go | ||
throttler.go | ||
ws.go |