mount/test/cljs/tapp/conf.cljs

10 lines
332 B
Text
Raw Normal View History

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