Add GetConfig to entrypoint
This commit is contained in:
parent
235c8d5ccb
commit
4f0ab6a376
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user