Add GetConfig to entrypoint

This commit is contained in:
ycc 2024-09-04 15:54:49 +02:00
parent 235c8d5ccb
commit 4f0ab6a376

View File

@ -172,6 +172,13 @@ func SetConfig(mongoUrl string, database string, natsUrl string, lokiUrl string,
return cfg
}
/* GetConfig will get the config
* @return *Config
*/
func GetConfig() *config.Config {
return config.GetConfig()
}
/* GetConfLoader
* Get the configuration loader for the application
* Parameters: