crystal-resque-client
Simple Resque queue client for Crystal inspired by go-resque.
Installation
Add this to your application's shard.yml
:
dependencies:
resque_client:
github: pine613/crystal-resque-client
branch: master
redis:
github: stefanwille/crystal-redis
version: ~> 1.2.1
Usage
require "redis"
require "resque_client"
redis = Redis.new
enqueuer = Resque::Client::Enqueuer.new(redis)
enqueuer.enqueue("Class", "arg1", 1000, true)
Contributing
- Fork it ( https://github.com/pine613/crystal-resque-client/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
Contributors
- pine613 Pine Mizune - creator, maintainer