Skip to content

Commit

Permalink
feat: Add healthcheck handler
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz committed Feb 20, 2024
1 parent 7813330 commit 81a0fbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/config.edn
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
elin.handler.evaluate/evaluate-current-top-list
elin.handler.test/run-test-under-cursor
elin.handler.evaluate/load-current-file
elin.handler.internal/healthcheck
elin.handler.internal/error
elin.handler.internal/initialize
elin.handler.internal/intercept
Expand Down
2 changes: 2 additions & 0 deletions src/elin/handler/internal.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
[elin.util.map :as e.u.map]
[malli.core :as m]))

(defn healthcheck [_] "OK")

(m/=> initialize [:=> [:cat e.s.handler/?Elin] any?])
(defn initialize
[{:component/keys [host]}]
Expand Down

0 comments on commit 81a0fbf

Please sign in to comment.