hellhound.config.parser

Parser functions for hellhound edn configuration files live in this namespace. This namespace contains several helpers functions to load a edn configuration file from classpath.

why not to use environ and project.clj?

Because environ convert the values to string and also it’s hard to fit a hash-map into a environment variable in production.

read-config

(read-config config-name)

Read the content of the config file with the given config-name and return a clojure data structure.

readers

var-reader

(var-reader value)

Reader function for #hh/var edn tag which resolve the given string as a var and returns the value related to that var.