Documentation ¶
Index ¶
Constants ¶
View Source
const ID = streamctl.PlatformName("twitch")
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
Types ¶
type Config ¶
type Config = streamctl.PlatformConfig[PlatformSpecificConfig, StreamProfile]
type OAuthHandler ¶
type OAuthHandler func(context.Context, oauthhandler.OAuthHandlerArgument) error
type PlatformSpecificConfig ¶
type PlatformSpecificConfig struct { Channel string ClientID string ClientSecret secret.String ClientCode secret.String AuthType string AppAccessToken secret.String UserAccessToken secret.String RefreshToken secret.String CustomOAuthHandler OAuthHandler `yaml:"-"` GetOAuthListenPorts func() []uint16 `yaml:"-"` }
func (PlatformSpecificConfig) IsInitialized ¶
func (cfg PlatformSpecificConfig) IsInitialized() bool
type StreamProfile ¶
Click to show internal directories.
Click to hide internal directories.