cron

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronJobModule

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

func NewCronJobService

func NewCronJobService() (*CronJobModule, error)

func (*CronJobModule) Close

func (c *CronJobModule) Close() error

func (*CronJobModule) DefineJob

func (c *CronJobModule) DefineJob(definition gocron.JobDefinition, handler func()) error

func (*CronJobModule) Start

func (c *CronJobModule) Start()

Jump to

Keyboard shortcuts

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