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
Ash Keel 0d3233ecbd
Big module refactor
Changing the HTTP config will now restart the server or, if possible, just hotpatch the configuration
2021-11-19 19:37:42 +01:00

12 lines
302 B
Go

package modules
const ModuleConfigKey = "stul-meta/modules"
type ModuleConfig struct {
CompletedOnboarding bool `json:"configured"`
EnableKV bool `json:"kv"`
EnableTwitch bool `json:"twitch"`
EnableStulbe bool `json:"stulbe"`
EnableLoyalty bool `json:"loyalty"`
}