scheduler

package
v1.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

type Scheduler struct {
	*gocron.Scheduler
}

func NewScheduler

func NewScheduler() *Scheduler

func (*Scheduler) Run

func (s *Scheduler) Run(tag *string, limit *int, every *int, unit *string, atTime *string, delay *int64, sync *bool, task func())

func (*Scheduler) RunOnce

func (s *Scheduler) RunOnce(task func())

func (*Scheduler) RunWithExpr

func (s *Scheduler) RunWithExpr(tag *string, expressions *string, task func())

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL