A Clojure library designed to provide the simplest form of durable Ring
session store. It is basically a clone of the original in-memory
session store with the atom
replaced by Alan Dipert's durable
enduro file-atom
.
Dependency:
[simlun/enduro-session "0.1.0"]
Ring middleware:
(use 'ring.adapter.jetty
'[simlun.enduro-session :only [wrap-enduro-session]])
(defn handler [request]
; ...
)
(run-jetty (wrap-enduro-session handler) {:port 3000}))
The main entry point is the Makefile
which will run all tests on $ make
.
Copyright © 2014 Simon Lundmark
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.