Rename Client Process method to Schedule

This commit is contained in:
Ken Hibino
2020-01-03 20:24:18 -08:00
parent 9256fb6023
commit 606b0fae64
6 changed files with 13 additions and 13 deletions

2
doc.go
View File

@@ -14,7 +14,7 @@ The Client is used to register a task to be processed at the specified time.
Payload: map[string]interface{}{"user_id": 42},
}
err := client.Process(&t, time.Now().Add(time.Minute))
err := client.Schedule(&t, time.Now().Add(time.Minute))
The Background is used to run the background task processing with a given
handler.