backend code

This commit is contained in:
2025-08-24 15:55:44 +02:00
parent 14a03d6a77
commit 4e1b4bad0a
7 changed files with 383 additions and 2 deletions

20
server/twitch/types.go Normal file
View File

@@ -0,0 +1,20 @@
package twitch
import "time"
type StreamInfo struct {
ID string
UserName string
Title string
GameName string
StartedAt time.Time
IsLive bool
}
type VodInfo struct {
ID string
Title string
URL string
Duration string
CreatedAt time.Time
}