This namespace provides a few functions which try very hard
to find configuration for the library. See the init
function
for a description of the logic.
This namespace provides a few functions which try very hard to find configuration for the library. See the `init` function for a description of the logic.
(config-path)
Find out where the configuration file lives
Find out where the configuration file lives
(environment-config)
Try getting configuration from the environment.
Try getting configuration from the environment.
(file-config profile config)
Get a profile from a config.
Get a profile from a config.
(getenv prop)
(getenv prop default)
Fetch variable from environment or system properties
Fetch variable from environment or system properties
(init)
Get configuration. First try the environment, if not found, read from a file.
Get configuration. First try the environment, if not found, read from a file.
(keywordify m)
Single-depth walk of a map, keywordizing keys.
Single-depth walk of a map, keywordizing keys.
(read-config path)
Try to read configuration from a path. Expects EDN files
Try to read configuration from a path. Expects EDN files
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close