Skip to content

Commit

Permalink
Adds one more example in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik7153 committed May 31, 2019
1 parent dad2f74 commit 0c26ff7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,12 @@ or
(ziggurat/main {:start-fn start-fn
:stop-fn stop-fn
:stream-routes {:stream-id {:handler-fn main-fn}}
:actor-routes []
:modes [:api-server]})
:actor-routes routes
:modes [:api-server :stream-worker]})
```

This will start both api-server and stream-worker modes

There are four modes supported by ziggurat
```
:api-server - Mode by which only server will be started with actor routes and management routes(Dead set management)
Expand Down

0 comments on commit 0c26ff7

Please sign in to comment.