(get-config k)(get-config k read-string?)Get app config. Accepts a key such as "PORT" or :port.
Get app config. Accepts a key such as "PORT" or :port.
(get-config-map)(get-config-table-str)Returns a nice string representation of the current config map.
Returns a nice string representation of the current config map.
(get-configurable-options)This function returns all keys that are specified in .edn files, excluding the automatic variables such as os-*.
This function returns all keys that are specified in .edn files, excluding the automatic variables such as os-*.
(reload-config!)Refreshes the config (e.g. re-reading .edn files)
Refreshes the config (e.g. re-reading .edn files)
(set-config! key value)Very dangerous, but useful during testing. Set a config value.
See: with-config
Very dangerous, but useful during testing. Set a config value. See: `with-config`
(unchecked-get-config k)Get app config. Unlike get-config, doesn't coerce arguments and can return nil for missing config.
Get app config. Unlike `get-config`, doesn't coerce arguments and can return nil for missing config.
(with-config config-key-vals & body)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |