Created
June 15, 2015 18:46
-
-
Save hlship/84b0686bba98d91c89e9 to your computer and use it in GitHub Desktop.
Sample startup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns fan.acquirer | |
(:require [schema.core :as s] | |
[io.aviso/config :as config] | |
[fan.startup :as startup) | |
(:gen-class) | |
(s/defschema ^:private AcquirerSchema | |
"When an Acquirer is set up, it is registered with the MIX, and an acquirer instance is created in the MIX database. | |
The Acquirer must reference its UUID when submitting payments." | |
{:acquirer {:uuid s/Uuid}}) | |
(defn -main | |
[args] | |
(startup/launch-system [:acquirer] [AcquirerSchema] args)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment