Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
Job structure will be used to handle every jobs. Every method (except "Schedule" and "Execute") accept only one string parameter. This param will be decoded into a specific structure (manually defined into your job). Redis and MySQL is mandatory to use this feature. Redis will be used to handle every queue and MySQL to store failed jobs.
func (Job) Mail ¶
Mail method will sends an email The payload must be a JSON object compliant with the MailStruct structure.
func (Job) PutOnFailed ¶
PutOnFailed inserts failed job in failed_job table
type MailStruct ¶
Click to show internal directories.
Click to hide internal directories.