schedule

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MulanPSL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Next(time.Time) *time.Time
}

func NewCrontabSchedule

func NewCrontabSchedule(spec string) (Interface, error)

func NewDelaySchedule

func NewDelaySchedule(sec int) Interface

func NewLimitSchedule

func NewLimitSchedule(cnt uint, sch Interface) Interface

Jump to

Keyboard shortcuts

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