mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-19 05:44:39 +08:00
22 lines
513 B
Go
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)
|
|
}
|