sched

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrefixDigit

func PrefixDigit(dig int) string

Types

type CronEntry

type CronEntry struct {
	// contains filtered or unexported fields
}

type CronField

type CronField int
const (
	Minute CronField = iota + 1
	Hour
	DoM
	Month
	DoW
)

func (CronField) Max

func (f CronField) Max() int

func (CronField) Min

func (f CronField) Min() int

func (CronField) String

func (f CronField) String() string

type CronSched

type CronSched struct {
	// contains filtered or unexported fields
}

func ParseCronSched

func ParseCronSched(schedule string) *CronSched

func (*CronSched) Trigger

func (c *CronSched) Trigger() bool

type CronVal

type CronVal struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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