improve twitch oauth resilience

This commit is contained in:
ari melody 2026-07-24 10:45:08 +01:00
parent accf60ed74
commit a24fbfc96e
Signed by: ari
GPG key ID: CF99829C92678188
2 changed files with 47 additions and 45 deletions

View file

@ -44,6 +44,9 @@ type (
type MessageType string
const (
BASE_URL string = "https://api.twitch.tv/helix"
EVENTSUB_URL string = "wss://eventsub.wss.twitch.tv/ws"
SESSION_WELCOME MessageType = "session_welcome"
SESSION_KEEPALIVE MessageType = "session_keepalive"
NOTIFICATION MessageType = "notification"