7 lines
292 B
Go
7 lines
292 B
Go
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
|