parser

package
v0.0.0-...-4b8cd26 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

func NewParser() cron.ScheduleParser

NewParser creates an Parser instance

func Parse

func Parse(spec string) (cron.Schedule, error)

Parse parses a cron schedule.

Types

type Parser

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

Parser is a cron parser

func (Parser) Parse

func (p Parser) Parse(spec string) (cron.Schedule, error)

Parse parses a cron schedule specification. It accepts the cron spec with mandatory seconds parameter.

Jump to

Keyboard shortcuts

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