lucky_redis_session
lucky_redis_session
A HTTP::Handler for Lucky to support Redis backed session.
Installation
-
Add the dependency to your
shard.yml
:dependencies: lucky_redis_session: github: sungchuldotdev/lucky_redis_session
-
Run
shards install
-
open app_server.cr in your Lucky app
-
add require "lucky_redis_session" on top of the file
-
replace Lucky::SessionHandler.new with RedisSessionHandler.new in app_server.cr in your lucky app.
-
Start redis
-
Lucky dev and enjoy.
Usage
require "lucky_redis_session"
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/your-github-user/lucky_redis_session/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Repository
lucky_redis_session
Owner
Statistic
- 3
- 0
- 0
- 0
- 1
- about 4 years ago
- April 4, 2020
License
MIT License
Links
Synced at
Mon, 06 May 2024 18:29:38 GMT
Languages