mount/dev/cljs/app/conf.cljs

10 lines
330 B
Text
Raw Normal View History

(ns app.conf
(:require [app.audit-log :refer [audit log]])
2015-12-07 05:00:52 +00:00
(:require-macros [mount.core :refer [defstate]]))
(defn load-config [path]
(audit log :app-conf "loading config from '" path "' (at least pretending)")
2015-12-07 05:00:52 +00:00
{:system-a {:uri "ws://echo.websocket.org/"}})
(defstate config :start (load-config "resources/config.end"))