Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/junker/lack-session-store-clache
- Owner: Junker
- License: mit
- Created: 2025-02-02T21:15:49.000Z (8 days ago)
- Default Branch: master
- Last Pushed: 2025-02-06T17:38:31.000Z (4 days ago)
- Last Synced: 2025-02-06T18:36:43.750Z (4 days ago)
- Topics: common-lisp
- Language: Common Lisp
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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*))
```