From c3c4f12e9a6a4ef9957185f162dff9a0f01ccb6d Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Wed, 22 Aug 2018 21:55:03 +0300 Subject: [PATCH] docs --- doc/interceptors.md | 20 +++++++++----------- doc/performance.md | 4 +++- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/interceptors.md b/doc/interceptors.md index 0b32fd49..011c15b6 100644 --- a/doc/interceptors.md +++ b/doc/interceptors.md @@ -1,8 +1,6 @@ # Interceptors (WIP) -Reitit also support for [Pedestal](pedestal.io)-style [interceptors](http://pedestal.io/reference/interceptors) as an alternative to Middleware. Basic interceptor handling is implemented in `reitit.interceptor` package. - -There is no interceptor executor shipped, but you can use libraries like [Pedestal Interceptor](https://github.com/pedestal/pedestal/tree/master/interceptor) or [Sieppari](https://github.com/metosin/sieppari) to execute the chains. +Reitit also support for [Pedestal](pedestal.io)-style [interceptors](http://pedestal.io/reference/interceptors) as an alternative to Middleware. Basic interceptor handling is implemented in `reitit.interceptor` package. There is no interceptor executor shipped, but you can use libraries like [Pedestal Interceptor](https://github.com/pedestal/pedestal/tree/master/interceptor) or [Sieppari](https://github.com/metosin/sieppari) to execute the chains. ## Reitit-http @@ -10,15 +8,11 @@ An alternative to `reitit-ring`, using interceptors instead of middleware. Curre ## Examples -### Pedestal +### Standalone -**TODO** - -### Sieppari - -* [Sieppari](https://github.com/metosin/sieppari) -* [Manifold](https://github.com/ztellman/manifold) -* [data-specs](https://github.com/metosin/spec-tools/blob/master/README.md#data-specs): +* [Sieppari](https://github.com/metosin/sieppari) for executing the chain +* [Manifold](https://github.com/ztellman/manifold) for async +* [data-specs](https://github.com/metosin/spec-tools/blob/master/README.md#data-specs) for coercion ```clj (require '[reitit.interceptor.sieppari :as sieppari]) @@ -77,3 +71,7 @@ An alternative to `reitit-ring`, using interceptors instead of middleware. Curre (jetty/run-jetty #'app {:port 3000, :join? false, :async? true}) ``` + +### Pedestal + +**TODO** diff --git a/doc/performance.md b/doc/performance.md index f6dd1c0a..52752bcb 100644 --- a/doc/performance.md +++ b/doc/performance.md @@ -1,6 +1,8 @@ # Performance -Reitit tries to be both great in features and be really, really fast. Originally the routing was ported from [Pedestal](http://pedestal.io/), but has been mostly rewritten to get even better performance. +Reitit tries to be both great in features and be really, really fast. Originally the routing was ported from [Pedestal](http://pedestal.io/), but has been mostly rewritten. + +![Opensensors perf test](images/opensensors.png) ### Rationale