Liking cljdoc? Tell your friends :D

confick

confick is a tiny library to load and cache configuration settings from an EDN file.

Installation

The library can be installed from Clojars using Leiningen:

Clojars Project

Example

(require '[confick.core :as cnf])

(cnf/bind [^:required addr [:tcp :address]
           ^{:default 80} port [:tcp :port]]
  (println (format "%s:%d" addr port)))

Use bind* to assign configuration values at compile-time.

Can you improve this documentation?Edit on GitHub

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

× close