(get cfg & keys)
Look up the given keys in the specified config. If the key is not present, throw an error explaining which key was missing.
Look up the given keys in the specified config. If the key is not present, throw an error explaining which key was missing.
(load)
(load & cfg-files)
If no arguments are specified, attempt to load config files from a
.immuconf.edn
file or an IMMUCONF_CFG environment variable, in that
order.
If arguments are specified, attempts to load each argument as a
config file using clojure.java.io/reader
, and merge them together.
Returns a valid configuration map.
If the configuration map specified by the inputs is not valid, throws an exception.
If no arguments are specified, attempt to load config files from a `.immuconf.edn` file or an IMMUCONF_CFG environment variable, in that order. If arguments are specified, attempts to load each argument as a config file using `clojure.java.io/reader`, and merge them together. Returns a valid configuration map. If the configuration map specified by the inputs is not valid, throws an exception.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close