(config-bool k)
Fetch a configuration key and parse it as a boolean.
Fetch a configuration key and parse it as a boolean.
(config-int k)
Fetch a configuration key and parse it as an integer.
Fetch a configuration key and parse it as an integer.
(config-kw k)
Fetch a configuration key and parse it as a keyword.
Fetch a configuration key and parse it as a keyword.
(config-str k)
Retrieve value for a single configuration key. Accepts either a keyword or a string.
We resolve properties from these places:
app-defaults
Retrieve value for a single configuration key. Accepts either a keyword or a string. We resolve properties from these places: 1. environment variables (ex: MB_DB_TYPE -> :mb-db-type) 2. jvm options (ex: -Dmb.db.type -> :mb-db-type) 3. hard coded `app-defaults`
Are we running in dev
mode (i.e. in a REPL or via lein ring server
)?
Are we running in `dev` mode (i.e. in a REPL or via `lein ring server`)?
Are we running in prod
mode (i.e. from a JAR)?
Are we running in `prod` mode (i.e. from a JAR)?
Are we running in test
mode (i.e. via lein test
)?
Are we running in `test` mode (i.e. via `lein test`)?
Are we running on a Windows machine?
Are we running on a Windows machine?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close