SpringConfig v0.1.1 SpringConfig.Loader.YamlLoader View Source
Loads configuration from a local Yaml file in the priv directory
Link to this section Summary
Functions
Loads configuration from a local Yaml file in the priv directory
Link to this section Functions
Link to this function
load(opts) View Source
Loads configuration from a local Yaml file in the priv directory.
Accepted options:
app
: The OTP app that contains the YAML file,path
: The path to the file inside the application. It should be in the priv directiory,profile
: The profile to use to filter the configuration. It will use spring.profiles to filter and if it's not present, the document will be included,ets_table
: The name of the ETS table to push the entries into.