Shivaram Lingamneni
95f1d5d2c4
fix #55
...
Don't log an error line during a normal Quit()
2022-06-17 19:07:34 -04:00
Shivaram Lingamneni
dd3e745681
fix #83
...
Add SASLOptional, making SASL errors non-fatal
2022-06-17 17:54:16 -04:00
Shivaram Lingamneni
458601b939
only run disconnect callbacks after a successful connection
2022-06-17 17:46:49 -04:00
Shivaram Lingamneni
0187c396b8
Merge pull request #81 from slingamn/reconnect_draft
...
fix #79
2022-06-17 12:15:32 -07:00
Shivaram Lingamneni
90121cc84b
fix #80
...
Add support for callbacks that run on disconnection
2022-06-17 14:48:19 -04:00
Shivaram Lingamneni
05769c370a
fix #79
...
An explicit Reconnect() should interrupt the ReconnectFreq-based delay between
automatic reconnection attempts.
2022-06-17 01:19:49 -04:00
Shivaram Lingamneni
2e8d20b514
ircevent: add synchronous GetLabeledResponse API
2022-05-23 14:26:13 -04:00
Shivaram Lingamneni
d6a5f43c67
ircevent: allow KeepAlive to equal Timeout
2021-08-04 23:07:50 -04:00
Shivaram Lingamneni
9f427b3fd4
ircevent: allow send calls before first connect
2021-07-23 17:51:05 -04:00
Shivaram Lingamneni
7b3bb1d1ea
remove ircmap and gircclient, rename to ergochat/irc-go
2021-06-17 16:51:48 -04:00
Shivaram Lingamneni
a16267c773
ircevent: avoid uses of time.After
...
"The underlying Timer is not recovered by the garbage collector until the
timer fires. If efficiency is a concern, use NewTimer instead and call
Timer.Stop if the timer is no longer needed."
2021-05-10 09:14:58 -04:00
Shivaram Lingamneni
4b81d501cc
ircevent: add AllowTruncation
2021-04-23 11:14:48 -04:00
Shivaram Lingamneni
7612702f6e
fix #52
...
Fix data race on (*Connection).batchNegotiated
2021-03-17 01:40:03 -04:00
Shivaram Lingamneni
23a3bb8f66
rename to Message and Reader; remove Event
2021-03-10 18:08:37 -05:00
Shivaram Lingamneni
b2a42a4234
make sure non-label batches expire as well
2021-03-10 12:43:23 -05:00
Shivaram Lingamneni
e9d62eeee7
support batch and labeled-response
2021-03-10 02:21:53 -05:00
Shivaram Lingamneni
4d031b5bd0
refactor callback/protocol handling
...
1. Change internal representation of callbacks
2. Add AddConnectCallback
3. Parse 005 RPL_ISUPPORT and expose to the client
4. Support CAP LS 302
2021-03-01 01:03:43 -05:00
Shivaram Lingamneni
a4b4bd8155
update examples, run gofmt
2021-02-19 11:45:33 -05:00
Shivaram Lingamneni
dc36bd80a6
initial fixes and refactoring
2021-02-19 03:55:06 -05:00
Shivaram Lingamneni
3e23f7f884
move to ircevent subdirectory
2021-02-15 21:58:48 -05:00