Documentation ¶
Index ¶
- func AddSingletonBackgroundTasks(builder *di.Builder)
- func NewOneTimeJob(job cron.Job, delay time.Duration) *backgroundtasksContracts.OneTimeJob
- func NewOneTimeJobs(jobs ...*backgroundtasksContracts.OneTimeJob) backgroundtasksContracts.OneTimeJobs
- func NewScheduledJob(job cron.Job, schedule string) *backgroundtasksContracts.ScheduledJob
- func NewScheduledJobs(jobs ...*backgroundtasksContracts.ScheduledJob) backgroundtasksContracts.ScheduledJobs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSingletonBackgroundTasks ¶ added in v0.1.130
AddSingletonBackgroundTasks adds service to the DI container
func NewOneTimeJob ¶
func NewOneTimeJob(job cron.Job, delay time.Duration) *backgroundtasksContracts.OneTimeJob
func NewOneTimeJobs ¶
func NewOneTimeJobs(jobs ...*backgroundtasksContracts.OneTimeJob) backgroundtasksContracts.OneTimeJobs
func NewScheduledJob ¶
func NewScheduledJob(job cron.Job, schedule string) *backgroundtasksContracts.ScheduledJob
func NewScheduledJobs ¶
func NewScheduledJobs(jobs ...*backgroundtasksContracts.ScheduledJob) backgroundtasksContracts.ScheduledJobs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.