Bruce Marriner
|
974ed749e1
Removed onEvent handler
|
8 anni fa |
Chris Rhodes
|
584b06aae5
Support VoiceSpeakingUpdates on VoiceConnection.
|
8 anni fa |
Bruce Marriner
|
44d4667463
Bump to v0.12.0-alpha
|
8 anni fa |
Bruce Marriner
|
cadf36c775
Bump to v0.11.0
|
8 anni fa |
Chris Rhodes
|
457b03f66e
Fix deadlock because I'm dumb.
|
8 anni fa |
Chris Rhodes
|
c291988335
Bring back the Lock as it's technically correct.
|
8 anni fa |
Chris Rhodes
|
79247272ff
Handler updates, no backwards incompatible API changes.
|
8 anni fa |
Chris Rhodes
|
32f8c03270
Fix a Lock instead of RLock in initialize.
|
8 anni fa |
Chris Rhodes
|
d22b7ffc90
Clean up mutexes around s.handlers so they exist only in discord.go
|
8 anni fa |
Bruce Marriner
|
aebfb09719
Baby Linting.
|
8 anni fa |
Chris Rhodes
|
b083ce00c7
Un-expose handlers. Clean up Session struct.
|
8 anni fa |
Chris Rhodes
|
88335b6f54
Small performance improvement. Added tests.
|
8 anni fa |
Chris Rhodes
|
6fa99712ef
Finish converting large switch statement into a map of functions.
|
8 anni fa |
Chris Rhodes
|
8ffaa85b0b
Thread safety and more events.
|
8 anni fa |
Chris Rhodes
|
fb6ae92555
Add basic support for mapped event handlers.
|
8 anni fa |
Bruce Marriner
|
f917d83f6e
Linting.
|
8 anni fa |
Bruce Marriner
|
9a63e50e22
Bump dev to v0.11.0-alpha
|
8 anni fa |
Bruce Marriner
|
fd42d568ec
Bump version to v0.10.0
|
8 anni fa |
Bruce Marriner
|
94b6199051
ShouldReconnectOnError and Compress are defaulted to true with New()
|
8 anni fa |
Chris Rhodes
|
bf5ca4d690
Fix comment.
|
8 anni fa |
Chris Rhodes
|
8b39278c3e
Get rid of Listen.
|
8 anni fa |
Chris Rhodes
|
c4869d7a43
Remove handshake.
|
8 anni fa |
Chris Rhodes
|
cd55a59ff9
Refactor open/close logic. Support OnConnect and OnDisconnect.
|
8 anni fa |
Chris Rhodes
|
1d9f97e283
Update New to allow an auth token to be specified.
|
8 anni fa |
Bruce Marriner
|
daa230a3c1
Bump dev version to 0.10.0-alpha
|
8 anni fa |
Bruce Marriner
|
e1bfc285a0
Bump version to 0.9.0
|
8 anni fa |
Bruce Marriner
|
2469147d8a
Even better checking that we don't close nil/closed chans.
|
8 anni fa |
Bruce Marriner
|
61b3b8122c
Only close chans if they are open, closes #80
|
8 anni fa |
Bruce Marriner
|
b5e45827fd
Better error checking for New() and Gateway() funcs, closes #75
|
8 anni fa |
Bruce Marriner
|
301fb980d3
Updated copyright year, cleaned up some comments.
|
8 anni fa |