I simply created a wrapper function, for the new-web-server function in
Danielsz
http-kit
<https://github.com/danielsz/system/blob/master/src/system/components/http_kit.clj>
component, that will accept a map as the argument and wrote a reference to
this function in "system.edn" i.e.
{:components {.... :http #var myduct.component.http-kit/http-kit-server}
:endpoints {}
:dependencies {...}
:config {... :http {:port http-port}}}
myduct is the name of the project and
(defn http-kit-server [argmap]
(system.components.http-kit/new-web-server (:port argmap)))
or something to this effect
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.