Liking cljdoc? Tell your friends :D

sabisu.conf


create-optionsclj

(create-options options-spec defaults config-map)
source

get-envclj

(get-env)
source

merge-optionsclj

(merge-options options-spec defaults input-options {:keys [logging]})
source

read-string-not-symbolsclj

(read-string-not-symbols s)
source

read-string-with-predclj

(read-string-with-pred pred s)
source

read-valsclj

(read-vals m)
source

system-optionscljmacro

(system-options system-name coll config-map)

'system-options' is an initialization macro which generates specs for the options of a component system. it requires the following arguments: 'system-name' a string or symbol used to create symbols for products of the macro (see below) 'coll' a collection of three value collections [unqualified-key validation-function default-value] system-options will create the following: a map containing all options keys and default values '{system-name}-defaults,' individual specs for each option specified '{namespace-name}/{option-keyname}', a hashmap spec containing all options '{system-name}-spec', and a merged options map function '{system-name}-options' which is used to obtain system options resulting from the merge of defaults and environment variables

'system-options' is an initialization macro which generates specs for the options of a component system.
it requires the following arguments:
'system-name' a string or symbol used to create symbols for products of the macro (see below)
'coll' a collection of three value collections [unqualified-key validation-function default-value]
system-options will create the following:
a map containing all options keys and default values '{system-name}-defaults,'
individual specs for each option specified '{namespace-name}/{option-keyname}',
a hashmap spec containing all options '{system-name}-spec',
and a merged options map function '{system-name}-options' which is used to obtain system options
resulting from the merge of defaults and environment variables
sourceraw docstring

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

× close