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 builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close