wai-session-redis: Simple Redis backed wai-session backend.

[ bsd3, library, program, web ] [ Propose Tags ] [ Report a vulnerability ]

Simple Redis backed wai-session backend. This module allows you to store session data of wai-sessions in a Redis database.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5
Dependencies base (>=4.10.0 && <5), bytestring (>=0.10 && <0.12), cereal (>=0.5.8 && <0.6), data-default (>=0.7 && <0.8), hedis (>=0.14 && <0.16), http-types (<0.13), vault (>=0.3.1 && <0.4), wai (>=3.2 && <3.3), wai-session (>=0.3.3 && <0.4), wai-session-redis, warp (<3.4) [details]
License BSD-3-Clause
Copyright (c) 2021 t4ccer
Author t4ccer
Maintainer t4ccer@gmail.com
Category Web
Home page https://github.com/t4ccer/wai-session-redis#readme
Bug tracker https://github.com/t4ccer/wai-session-redis/issues
Source repo head: git clone https://github.com/t4ccer/wai-session-redis
Uploaded by t4ccer at 2022-03-20T17:23:03Z
Distributions
Executables wai-session-redis-example-exe
Downloads 938 total (8 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-03-20 [all 1 reports]

Readme for wai-session-redis-0.1.0.5

[back to package description]

wai-session-redis

GitHub Workflow Status Hackage

Provides Redis based session store for Network.Wai.Session
For example usage view example/Main.hs

Tests

To run tests wai-session-redis must have access to running redis instance.

Using docker and stack

docker run --name redis-session-tests -p 6379:6379 -d redis
stack test
docker rm -f redis-session-tests

Using nix

Nix takes care of running redis instance and testing wai-session-redis.

nix-build