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

19
ttv/main.go Normal file
View File

@@ -0,0 +1,19 @@
package ttv
import (
"zomo.dev/largehadroncollider/db"
"zomo.dev/largehadroncollider/util"
)
func InitTwitchConn(conf *util.Config, dbConn *db.DBConn) (*TwitchConn, error) {
auth, err := initAuth(conf, dbConn)
if err != nil {
return nil, err
}
return &TwitchConn{ auth }, nil
}
type TwitchConn struct {
Auth *TwitchAuth
}