Ken Hibino
c33dd447ac
Allow client to enqueue a task with unique option
...
Changes:
- Added Unique option for clients
- Require go v.13 or above (to use new errors wrapping functions)
- Fixed adding queue key to all-queues set (asynq:queues) when scheduling.
2020-03-21 11:40:40 -07:00
Ken Hibino
37554fd23c
Update readme example code
2020-03-15 14:56:00 -07:00
Ken Hibino
310d38620d
Minor tweak to readme example code
2020-03-13 17:27:20 -07:00
Ken Hibino
25992c2781
[ci skip] Minor readme update
2020-03-03 21:39:16 -08:00
Ken Hibino
b9e3cad7a7
[ci skip] Update readme
...
- Added flow chart for task queue
- Reordered sections
2020-03-02 07:06:11 -08:00
Ken Hibino
742ed6546f
Add ServeMux type
...
Allow user to use ServeMux type to be used as a Handler.
ServeMux API is design to be similar to net/http.ServeMux API.
2020-03-01 15:53:18 -08:00
Ken Hibino
3ee97f327e
[ci skip] Update readme
2020-02-23 20:44:44 -08:00
Ken Hibino
49c117f4d1
Change Client APIs
...
Use `Enqueue`, `EnqueueAt`, and `EnqueueIn` to enqueue and schedule
tasks.
`Schedule` method was removed.
2020-02-23 20:40:40 -08:00
Ken Hibino
f9a6c6156f
[ci skip] Add codecov badge in readme
2020-02-19 21:37:54 -08:00
Ken Hibino
d33ca98648
Use int as priority value type.
...
Do not use unsigned int for merely non-negative quantities as it
complicates simple arithmetic.
2020-02-13 06:23:51 -08:00
Ken Hibino
bf31fcc3ec
[ci skip] Update readme and changelog
2020-02-13 06:23:51 -08:00
Ken Hibino
133bb6c2c6
Update docs for context and timeout
2020-02-13 06:23:51 -08:00
Ken Hibino
79a04e52a3
[cip skip] Add link to intro video in readme
2020-02-09 10:59:32 -08:00
Ken Hibino
7e33c9ebe0
[ci skip] Add contribution doc
2020-02-08 09:48:04 -08:00
Ken Hibino
a6b79eb7a0
[ci skip] Update readme
2020-02-07 06:45:36 -08:00
Ken Hibino
6dd4c688f4
[ci skip] Update readme
2020-02-05 22:12:26 -08:00
Ken Hibino
36af486303
[ci skip] Add prettier gif for demo
2020-01-29 21:36:17 -08:00
Ken Hibino
a46eb97e6f
[ci skip] Shorten readme
2020-01-26 20:06:52 -08:00
Ken Hibino
3ed155b45b
[ci skip] Update readme
2020-01-25 08:08:13 -08:00
Ken Hibino
58d2ed94e7
[ci skip] Fix typo
2020-01-23 06:05:18 -08:00
Ken Hibino
b02e4e6b09
[ci skip] Update readme
2020-01-21 17:48:55 -08:00
Ken Hibino
d37f2a09ab
[ci skip] Add readme for asynqmon tool
2020-01-18 21:00:33 -08:00
Ken Hibino
5c806676de
[ci skip] Add link to gitter chat room
2020-01-16 21:35:03 -08:00
Ken Hibino
fd8eb51440
[ci skip] Add badges to readme
2020-01-16 21:13:34 -08:00
Ken Hibino
43d7591250
Remove redis.Client type from asynq package API
2020-01-16 21:04:46 -08:00
Ken Hibino
29ad70c36a
[ci skip] Update readme
2020-01-05 09:55:39 -08:00
Ken Hibino
f3a23b9b12
Make Task type immutable
...
This change makes it impossible to mutate payload within Handler or
RetryDelayFunc.
2020-01-05 09:55:39 -08:00
Ken Hibino
606b0fae64
Rename Client Process method to Schedule
2020-01-03 20:29:35 -08:00
Ken Hibino
9af14d9a6d
Add Config type to configure background processing behavior
2019-12-30 07:14:49 -08:00
Ken Hibino
fc71857c7c
Change NewBackground API to take *redis.Client
2019-12-29 14:55:16 -08:00
Ken Hibino
62624cb0d8
Change NewClient API to take *redis.Client
2019-12-29 14:55:16 -08:00
Ken Hibino
2e91c49c3f
[ci skip] Update readme
2019-12-27 16:44:33 -08:00
Ken Hibino
14ac5f6674
Add Get* methods to Payload type
2019-12-20 16:01:32 -08:00
Ken Hibino
0382fc1d08
Fix readme
2019-12-07 08:47:17 -08:00
Ken Hibino
b0a54cd2b2
Change Background API to take Handler interface
2019-12-02 20:45:40 -08:00
Ken Hibino
1a996e0d40
Update readme
2019-12-01 19:03:31 -08:00
Ken Hibino
b9cb95b1e1
Add readme
2019-11-30 09:38:46 -08:00