pine / crystal-resque-client

:ambulance: Simple Resque queue client for Crystal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crystal-resque-client

Build Status Dependency Status devDependency Status

Simple Resque queue client for Crystal inspired by go-resque.

Installation

Add this to your application's shard.yml:

dependencies:
  resque_client:
    github: pine/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

  1. Fork it ( https://github.com/pine/crystal-resque-client/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • pine613 Pine Mizune - creator, maintainer

About

:ambulance: Simple Resque queue client for Crystal

License:MIT License


Languages

Language:Crystal 100.0%