mirror of https://git.sr.ht/~ashkeel/strimertul
19 lines
538 B
Go
19 lines
538 B
Go
package twitch
|
|
|
|
const ConfigKey = "twitch/config"
|
|
|
|
// Config is the general configuration for the Twitch subsystem
|
|
type Config struct {
|
|
// Enable subsystem
|
|
Enabled bool `json:"enabled" desc:"Enable subsystem"`
|
|
|
|
// Twitch API App Client ID
|
|
APIClientID string `json:"api_client_id" desc:"Twitch API App Client ID"`
|
|
|
|
// Twitch API App Client Secret
|
|
APIClientSecret string `json:"api_client_secret" desc:"Twitch API App Client Secret"`
|
|
|
|
// Twitch channel to use
|
|
Channel string `json:"channel" desc:"Twitch channel to join and use"`
|
|
}
|