cron

package
v0.42.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Recoverer added in v0.31.0

func Recoverer(errHandler func(error))

Types

type Cron

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

func Run

func Run(f func() error, errHandler func(error), delay time.Duration) Cron

func (*Cron) Cancel

func (c *Cron) Cancel()

func (*Cron) RunNow

func (c *Cron) RunNow()

Jump to

Keyboard shortcuts

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