Documentation ¶
Index ¶
- Constants
- type ProductNoticesJobInterfaceImpl
- type Scheduler
- func (scheduler *Scheduler) Enabled(cfg *model.Config) bool
- func (scheduler *Scheduler) JobType() string
- func (scheduler *Scheduler) Name() string
- func (scheduler *Scheduler) NextScheduleTime(cfg *model.Config, now time.Time, pendingJobs bool, ...) *time.Time
- func (scheduler *Scheduler) ScheduleJob(cfg *model.Config, pendingJobs bool, lastSuccessfulJob *model.Job) (*model.Job, *model.AppError)
- type Worker
Constants ¶
View Source
const (
JobName = "ProductNotices"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductNoticesJobInterfaceImpl ¶
func (*ProductNoticesJobInterfaceImpl) MakeScheduler ¶
func (m *ProductNoticesJobInterfaceImpl) MakeScheduler() model.Scheduler
func (*ProductNoticesJobInterfaceImpl) MakeWorker ¶
func (m *ProductNoticesJobInterfaceImpl) MakeWorker() model.Worker
type Scheduler ¶
func (*Scheduler) NextScheduleTime ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func (*Worker) JobChannel ¶
Click to show internal directories.
Click to hide internal directories.