1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-20 02:00:49 +00:00
strimertul/modules/modules.go

20 lines
475 B
Go

package modules
const ModuleConfigKey = "stul-meta/modules"
type ModuleConfig struct {
CompletedOnboarding bool `json:"configured"`
EnableKV bool `json:"kv"`
EnableStaticServer bool `json:"static"`
EnableTwitch bool `json:"twitch"`
EnableStulbe bool `json:"stulbe"`
EnableLoyalty bool `json:"loyalty"`
}
const HTTPServerConfigKey = "http/config"
type HTTPServerConfig struct {
Bind string `json:"bind"`
Path string `json:"path"`
}