Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobScheduler ¶
type JobScheduler struct {
// contains filtered or unexported fields
}
func NewJobScheduler ¶
func NewJobScheduler(name string, interval time.Duration, f IJob) *JobScheduler
func (*JobScheduler) Name ¶
func (sch *JobScheduler) Name() string
func (*JobScheduler) Run ¶
func (sch *JobScheduler) Run() error
func (*JobScheduler) Stop ¶
func (sch *JobScheduler) Stop() error
Click to show internal directories.
Click to hide internal directories.