Files
streamctl/pkg/streamcontrol/twitch/config.go
2024-10-21 23:10:01 +01:00

22 lines
513 B
Go

package twitch
import (
streamctl "github.com/xaionaro-go/streamctl/pkg/streamcontrol"
twitch "github.com/xaionaro-go/streamctl/pkg/streamcontrol/twitch/types"
)
const ID = twitch.ID
type Config = twitch.Config
type StreamProfile = twitch.StreamProfile
type PlatformSpecificConfig = twitch.PlatformSpecificConfig
type OAuthHandler = twitch.OAuthHandler
func init() {
streamctl.RegisterPlatform[PlatformSpecificConfig, StreamProfile](ID)
}
func InitConfig(cfg streamctl.Config) {
twitch.InitConfig(cfg)
}