cronjob

package
v0.0.0-...-5032473 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Plugin = make(map[string]Cronjob)
)

Functions

func WrapWithCron

func WrapWithCron(ctx context.Context, wg *sync.WaitGroup, schedule string, coreFunc func()) func()

Types

type Cronjob

type Cronjob interface {
	plug.Cronner
	DoSchedule()
}

Jump to

Keyboard shortcuts

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