twitch

package
v0.0.0-...-646ff60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2024 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ID = streamctl.PlatformName("twitch")

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(cfg streamctl.Config)

Types

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

type StreamProfile struct {
	streamctl.StreamProfileBase `yaml:",omitempty,inline,alias"`

	Tags         [10]string
	Language     *string
	CategoryName *string
	CategoryID   *string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL