Liking cljdoc? Tell your friends :D

tech.config.core


*config-keys*clj


*config-map*clj


*config-sources*clj


get-configclj

(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.
raw docstring

get-config-mapclj

(get-config-map)

get-config-table-strclj

(get-config-table-str)

Returns a nice string representation of the current config map.

Returns a nice string representation of the current config map.
raw docstring

get-configurable-optionsclj

(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-*.
raw docstring

reload-config!clj

(reload-config!)

Refreshes the config (e.g. re-reading .edn files)

Refreshes the config (e.g. re-reading .edn files)
raw docstring

set-config!clj

(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`
raw docstring

unchecked-get-configclj

(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.
raw docstring

with-configclj/smacro

(with-config config-key-vals & body)

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

× close