1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-07-01 19:13:54 +00:00
Commit graph

8 commits

Author SHA1 Message Date
Alex Bramley
8239bc4b6e Unit test adding and deleting handlers and events. 2011-11-09 21:54:14 +00:00
Alex Bramley
6e87169e2c Make API for adding/deleting handlers more coherent.
Previously, it was possible to add the same handler (as returned by NewHandler)
to multiple different event lists, but DelHandler only removed a handler from
*all* event lists it was present in. This may not be wanted behaviour, and
reduces control over the event lists.

Instead, allow both Add and DelHandler to take a variadic list of events to
add or delete handlers from.
2011-11-07 13:13:46 +00:00
Alex Bramley
c400a2141a Run gofmt over code, it's been a while. 2011-09-12 23:25:09 +01:00
Alex Bramley
bb703cc945 Fix SerialDispatcher test. 2011-07-29 23:15:17 +01:00
Alex Bramley
1849d886d4 Revert "Merge branch 'master' into release"
This reverts commit 2528d13314, reversing
changes made to f0a9246c7a.
2011-07-29 23:14:21 +01:00
Alex Bramley
4994263773 Fix SerialDispatcher test. 2011-07-29 23:11:05 +01:00
Alex Bramley
a2b53e6fc3 Rename registry -> event for gb purposes. 2011-07-27 21:00:23 +01:00
Alex Bramley
3e82bf33c3 unit tests, sort of. 2011-07-27 17:49:55 +01:00