https://github.com/pine/crystal-resque-client
:ambulance: Simple Resque queue client for Crystal
https://github.com/pine/crystal-resque-client
Last synced: 12 months ago
JSON representation
:ambulance: Simple Resque queue client for Crystal
- Host: GitHub
- URL: https://github.com/pine/crystal-resque-client
- Owner: pine
- License: mit
- Created: 2016-01-01T11:45:40.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-25T10:51:33.000Z (over 9 years ago)
- Last Synced: 2025-01-13T03:14:11.665Z (about 1 year ago)
- Language: Crystal
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crystal-resque-client
[](https://travis-ci.org/pine/crystal-resque-client)
[](https://shards.rocks/github/pine/crystal-resque-client)
[](https://shards.rocks/github/pine/crystal-resque-client)
Simple [Resque](https://github.com/resque/resque) queue client for [Crystal](http://crystal-lang.org/) inspired by [go-resque](https://github.com/kavu/go-resque).
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
resque_client:
github: pine/crystal-resque-client
branch: master
redis:
github: stefanwille/crystal-redis
version: ~> 1.2.1
```
## Usage
```crystal
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](https://github.com/pine) Pine Mizune - creator, maintainer