Categorygithub.com/dangersalad/go-ensureinterval
modulepackage
0.1.0
Repository: https://github.com/dangersalad/go-ensureinterval.git
Documentation: pkg.go.dev

# Functions

Run will run the Jobs provided at the specified interval, catching up missed interval runs if the time to execute the provided Jobs takes longer than the interval provided.
SetLogger sets a logger on the package that will print messages.
SetMaxCatchup sets the max intervals this is allowed to try to catch up.

# Structs

Job is a job to run at a specified interval.

# Type aliases

ExecFunc is a function to be run at intervals by Run.
JobLoader is a function to load in jobs before run.