Chris Rhodes
|
d22b7ffc90
Clean up mutexes around s.handlers so they exist only in discord.go
|
8 лет назад |
Chris Rhodes
|
b083ce00c7
Un-expose handlers. Clean up Session struct.
|
8 лет назад |
Chris Rhodes
|
6fa99712ef
Finish converting large switch statement into a map of functions.
|
8 лет назад |
Chris Rhodes
|
8ffaa85b0b
Thread safety and more events.
|
8 лет назад |
Chris Rhodes
|
fb6ae92555
Add basic support for mapped event handlers.
|
8 лет назад |
Chris Rhodes
|
7d112b562e
Mirror the Voice guard.
|
8 лет назад |
Chris Rhodes
|
b2c76de22e
Merge remote-tracking branch 'bwmarrin/develop' into voice
|
8 лет назад |
Chris Rhodes
|
7858f999b1
Handle nil errors and default handler properly.
|
8 лет назад |
Bruce Marriner
|
348d9482d0
Removed unneeded blank line :)
|
8 лет назад |
Bruce Marriner
|
1a0e4c05fa
Call user callback for VOICE_STATE_UPDATE events, closes #101
|
8 лет назад |
Chris Rhodes
|
40b969d7c3
VoiceServerUpdate and VoiceStateUpdate
|
8 лет назад |
Bruce Marriner
|
edc09778a7
Linting.
|
8 лет назад |
Bruce Marriner
|
546cd85303
error strings should not end with punctuation.
|
8 лет назад |
Bruce Marriner
|
6bb417af7a
Removed unreachable (and unneeded) code x3!
|
8 лет назад |
Bruce Marriner
|
5ae93327e3
Removed unreachable (and unneeded) code.
|
8 лет назад |
Bruce Marriner
|
457d27b35e
Removed unreachable (and unneeded) code.
|
8 лет назад |
Chris Rhodes
|
fd32614a63
Make compression optional, clean up some comments and unused fields.
|
8 лет назад |
Chris Rhodes
|
5a3740df0c
:poop:
|
8 лет назад |
Chris Rhodes
|
a08dde4262
Support zlib compression.
|
8 лет назад |
Chris Rhodes
|
25a1b2ea48
Close.
|
8 лет назад |
Chris Rhodes
|
e94e14e9d2
Support ShouldReconnectOnError with exponential backoff up to 10 minutes.
|
8 лет назад |
Chris Rhodes
|
ddddfa3644
Prevent heartbeat from sending on nil websocket.
|
8 лет назад |
Chris Rhodes
|
d6d6c749ea
Prevent listen from reading from nulled out web socket.
|
8 лет назад |
Chris Rhodes
|
8b39278c3e
Get rid of Listen.
|
8 лет назад |
Chris Rhodes
|
e8d8f03214
Clean up ready timing, fix potential race with starting heartbeats.
|
8 лет назад |
Chris Rhodes
|
c4869d7a43
Remove handshake.
|
8 лет назад |
Chris Rhodes
|
2a9538e9f1
I must stop doing last minute changes.
|
8 лет назад |
Chris Rhodes
|
7a9b9428ee
Re-add old todo.
|
8 лет назад |
Chris Rhodes
|
cd55a59ff9
Refactor open/close logic. Support OnConnect and OnDisconnect.
|
8 лет назад |
Chris Rhodes
|
6b73b588ba
Message tracking.
|
8 лет назад |