Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1012 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 1012 Bytes

#mount-ms

Clojars Project

Build Status

This project is derived from tesla-microservice.
Main differences to the tesla-microservice: mount-ms uses MOUNT instead of component (surprise) :)
Current available components are:

* [ms-httpkit](https://github.com/kaibra/ms-httpkit)

Usage

(ns kaibra.ms-example
  (:require
    [kaibra.system :as mount-ms]
    [clojure.tools.logging :as log]
    [kaibra.stateful.server :as server])
  (:gen-class))

(defn -main [& args]
  (log/info "Starting MS-EXAMPLE")
  (mount-ms/start-with-states
    #'server/server ;see ms-httpkit
    ;put your custom states you want to start with the mount-ms states here
    ))

Example

To see a working example of this microservice which includes a server look at ms-example

kaibra