Function get_config
Source pub fn get_config(metadata: &MetaData) -> Arc<Config>
Expand description
Retrieves the environment variables and parses as the data-type specified in Config struct.
§Arguments
metadata - Struct containing metadata of the application.
§Returns
Converts the config struct into an Arc and returns it.