Logo
Explore Help
Sign In
sneak/go-ircevent
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
114 Commits 1 Branch 0 Tags
bf01c6c9e2b5133df9335aef7902e2c90e058303
Commit Graph
6 Commits
This Branch
This Branch
All Branches
Author SHA1 Message Date
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
Powered by Gitea Version: 1.27.3 Page: 17ms Template: 2ms
Dark
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API