Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dashboard ¶
func Dashboard(redisURL string) *asynqmon.HTTPHandler
Types ¶
type Instance ¶
type Instance struct { Client *asynq.Client Server *asynq.ServeMux Scheduler *asynq.Scheduler Inspector *asynq.Inspector }
Instance ...
func (Instance) RemoveScheduler ¶
func (Instance) ScheduleTask ¶
func (i Instance) ScheduleTask(typename string, payload []byte, cronSpec string, retryTimes int) (string, error)
ScheduleTask create new task and run at specific time cronSpec follow cron expression https://www.freeformatter.com/cron-expression-generator-quartz.html
Click to show internal directories.
Click to hide internal directories.