breaking: update runtime options

This commit is contained in:
Hayden 2022-11-13 13:15:12 -09:00
parent 567e12a1e9
commit 46eaef12eb
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -23,8 +23,13 @@ type Config struct {
Mailer MailerConf `yaml:"mailer"` Mailer MailerConf `yaml:"mailer"`
Swagger SwaggerConf `yaml:"swagger"` Swagger SwaggerConf `yaml:"swagger"`
Demo bool `yaml:"demo"` Demo bool `yaml:"demo"`
AllowRegistration bool `yaml:"disable_registration" conf:"default:true"`
Debug DebugConf `yaml:"debug"` Debug DebugConf `yaml:"debug"`
Options Options `yaml:"options"`
}
type Options struct {
AllowRegistration bool `yaml:"disable_registration" conf:"default:true"`
AutoIncrementAssetID bool `yaml:"auto_increment_asset_id" conf:"default:true"`
} }
type DebugConf struct { type DebugConf struct {