cronsched

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NUM_REX = regexp.MustCompile("^\\d{1,2}$")

Regexps

View Source
var RANGE_REX = regexp.MustCompile("^\\d{1,2}-\\d{1,2}$")
View Source
var SEP_REX = regexp.MustCompile(" +")
View Source
var STEP_REX = regexp.MustCompile("^\\*/\\d{1,2}$")

Functions

This section is empty.

Types

type ParsedCronSched

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

func (*ParsedCronSched) Match

func (sched *ParsedCronSched) Match(t *time.Time) bool

func (*ParsedCronSched) Parse

func (sched *ParsedCronSched) Parse(line string) (err error)

func (*ParsedCronSched) Type

func (sched *ParsedCronSched) Type() string

func (*ParsedCronSched) Unparsed

func (sched *ParsedCronSched) Unparsed() string

Jump to

Keyboard shortcuts

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