Merge pull request #24 from darkliquid/callback-tweaks

Looks good to me. The id generating code may need some tweaking but should work fine as is :)
This commit is contained in:
Thomas Jager
2014-02-12 08:17:43 +01:00
3 changed files with 132 additions and 14 deletions

View File

@@ -33,7 +33,7 @@ type Connection struct {
user string
registered bool
server string
events map[string][]func(*Event)
events map[string]map[string]func(*Event)
lastMessage time.Time