rough skeleton and basic user authentication

This commit is contained in:
zomo
2025-10-31 10:32:50 -05:00
commit 8355ca374b
17 changed files with 542 additions and 0 deletions

6
ttv/events.go Normal file
View 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