Split from btcprice monolith. Owns DB, migrations, Binance WebSocket, Kraken OHLC pollers, and exposes a JSON API with SSE price stream. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
385 B
Clojure
11 lines
385 B
Clojure
(ns pmagnus.btcdata.env
|
|
(:require
|
|
[clojure.tools.logging :as log]))
|
|
|
|
(def defaults
|
|
{:init (fn [] (log/info "\n-=[btcdata starting]=-"))
|
|
:start (fn [] (log/info "\n-=[btcdata started successfully]=-"))
|
|
:stop (fn [] (log/info "\n-=[btcdata has shut down successfully]=-"))
|
|
:middleware (fn [handler _] handler)
|
|
:opts {:profile :prod}})
|