scheduler

package
v0.0.0-...-5ee79ad Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Schedule

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

func NewSchedule

func NewSchedule(cronExpression string, toExecute func()) *Schedule

func (*Schedule) NextRun

func (s *Schedule) NextRun() time.Time

func (*Schedule) Schedule

func (s *Schedule) Schedule() error

Jump to

Keyboard shortcuts

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