[erlang-questions] recommended ways to pass config to a dep app
Fri Nov 16 15:35:55 CET 2012
application:set_env(stockdb, key, value),
On Fri, Nov 16, 2012 at 6:28 PM, AD <straightflush@REDACTED> wrote:
> I am abstracting some code into a "library" that can be included in other
> applications. This library requires a fair bit of config options, what is
> the recommended approach here when starting it up?
> I noticed some libraries like cowboy, you pass all the configs into the
> main start_http() method, others use include files.
> Is there a preferred mechanism here when there are 20-25 config options
> for the included application?
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions