Liking cljdoc? Tell your friends :D

org.purefn.kurosawa.config.env

Load configuration from environment variables.

Load configuration from environment variables.
raw docstring

fetchclj

(fetch)

Fetches a map from environment variables according to the convention:

  • MYSQL_USER=root
  • MYSQL_PASSWORD=secure
  • MYSQL_NUM_THREADS=10

(fetch) {mysql {user root password secure num-threads 10}}

Fetches a map from environment variables according to the convention:

* MYSQL_USER=root
* MYSQL_PASSWORD=secure
* MYSQL_NUM_THREADS=10

> (fetch)
{mysql
 {user root
  password secure
  num-threads 10}}
sourceraw docstring

merge-overridesclj

(merge-overrides conf)

Fetches config from the environment only udpating paths already present in conf.

Fetches config from the environment only udpating paths already present in `conf`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close