mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-12-24 12:27:57 +08:00
19 lines
389 B
Go
19 lines
389 B
Go
package youtube
|
|
|
|
import (
|
|
"github.com/xaionaro-go/streamctl/pkg/streamcontrol"
|
|
"golang.org/x/oauth2"
|
|
)
|
|
|
|
type PlatformSpecificConfig struct {
|
|
ClientID string
|
|
ClientSecret string
|
|
Token *oauth2.Token
|
|
}
|
|
|
|
type Config = streamctl.PlatformConfig[PlatformSpecificConfig, StreamProfile]
|
|
|
|
func InitConfig(cfg streamctl.Config, id string) {
|
|
streamctl.InitConfig(cfg, id, Config{})
|
|
}
|