Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/junker/lack-session-store-clache

Clache Session store for Lack
https://github.com/junker/lack-session-store-clache

common-lisp

Last synced: about 23 hours ago
JSON representation

Clache Session store for Lack

Awesome Lists containing this project

README

        

# lack-session-store-clache

[Clache](https://github.com/html/clache) session store for [Lack](https://github.com/fukamachi/lack)

## Installation

This system can be installed from [UltraLisp](https://ultralisp.org/) like this:

```lisp
(ql-dist:install-dist "http://dist.ultralisp.org/"
:prompt nil)
(ql:quickload "lack-session-store-clache")
```

## Usage

```common-lisp
(defparameter *clache-session-cache*
(make-instance 'clache:file-store
:directory #P"/var/www/myproject/sessions/"))
(setf *app*
(lack:builder
(:session :store (lack.middleware.session.store.clache:make-clache-store
:cache *clache-session-cache*))
*app*))
```