rough skeleton and basic user authentication
This commit is contained in:
6
ttv/events.go
Normal file
6
ttv/events.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package ttv
|
||||
|
||||
// hook into twitch events with a given user auth
|
||||
|
||||
// the websocket server (or anything else) will have a line to send a function here, i.e. ttv.AddEventHook(func(eventInfo) { ... })
|
||||
// this ttv/events class will act as an Event Emitter, where these functions will all be called
|
||||
Reference in New Issue
Block a user