mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-30 02:40:33 +00:00
16 lines
440 B
Go
16 lines
440 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"`
|
||
|
}
|