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