feat: add core.portal_name required config to be used for communication
This commit is contained in:
parent
81e540c2ce
commit
3da1ae3e5f
|
@ -35,6 +35,7 @@ func initCheckRequiredConfig(logger *zap.Logger, config *config.Manager) error {
|
|||
"core.mail.host",
|
||||
"core.mail.username",
|
||||
"core.mail.password",
|
||||
"core.portal_name",
|
||||
}
|
||||
|
||||
for _, key := range required {
|
||||
|
|
|
@ -3,6 +3,7 @@ package config
|
|||
type CoreConfig struct {
|
||||
DB DatabaseConfig `mapstructure:"db"`
|
||||
Domain string `mapstructure:"domain"`
|
||||
PortalName string `mapstructure:"portal_name"`
|
||||
ExternalPort uint `mapstructure:"external_port"`
|
||||
Identity string `mapstructure:"identity"`
|
||||
Log LogConfig `mapstructure:"log"`
|
||||
|
|
Loading…
Reference in New Issue