kaibra / mount-ms

a microservice based on tesla-microservice which uses mount instead of component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#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

About

a microservice based on tesla-microservice which uses mount instead of component

License:Apache License 2.0


Languages

Language:Clojure 100.0%