Documentation ¶
Index ¶
- type Process
- type Scheduler
- func (sch *Scheduler) AddProcessWithInterval(process Process, interval time.Duration)
- func (sch *Scheduler) AddProcessWithPeriod(process Process, period time.Duration)
- func (sch *Scheduler) EveryDayAt(process Process, hours int, minutes int)
- func (sch *Scheduler) EveryMonthAt(process Process, day int, hours int, minutes int)
- func (sch *Scheduler) Run() error
- func (sch *Scheduler) Stop() error
- func (sch *Scheduler) Title() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func NewScheduler ¶
func NewScheduler() *Scheduler
func (*Scheduler) AddProcessWithInterval ¶
func (*Scheduler) AddProcessWithPeriod ¶
func (*Scheduler) EveryDayAt ¶
func (*Scheduler) EveryMonthAt ¶
Click to show internal directories.
Click to hide internal directories.