Andrew Montgomery-Hurrell
|
9100ba0734
|
Added Whois, Who and Mode (also go fmt)
|
2014-02-13 21:49:28 +00:00 |
|
Andrew Montgomery-Hurrell
|
bf01c6c9e2
|
Added ClearCallback method for clearing all callbacks for an event
|
2014-02-11 23:57:08 +00:00 |
|
Andrew Montgomery-Hurrell
|
6edb7ec06e
|
Added unique id to callbacks so they can be referenced. Since Go doens't actually provide unique function pointers, we use the closest we can get by grabbing the pointer for the function and slapping a random int on the end. Does it guarantee there will never be a collision? No, but it makes it's pretty damn unlikely that you'll get one during the lifetime of an app unless you are generating millions and millions of callbacks and never, ever deleting them, in which case you probably have something else to worry about
|
2014-02-11 23:35:13 +00:00 |
|
Andrew Montgomery-Hurrell
|
33d8019793
|
Added ability to get the index of a callback in the callback registry. Ability to process events against a 'wildcard' handler
|
2014-02-11 21:44:29 +00:00 |
|
Andrew Montgomery-Hurrell
|
847ce8faa2
|
Make IRC logger public. No reason for disallowing overrides.
|
2014-02-10 19:56:16 +00:00 |
|
Andrew Montgomery-Hurrell
|
0b6c954b52
|
try to shutdown more safely so callbacks, etc don't try and use the read/write channels after they are closed
|
2014-02-10 19:54:07 +00:00 |
|
Andrew Montgomery-Hurrell
|
c0e6d50e0c
|
Added configurable timeouts and overridable version string
|
2014-02-09 10:20:58 +00:00 |
|