cron

package
v0.0.0-...-f266d1f Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cron

type Cron struct {
	trigger.Trigger
	// contains filtered or unexported fields
}

func New

func New(t *models.Trigger) (*Cron, error)

func (*Cron) Fire

func (c *Cron) Fire(ctx context.Context) error

func (*Cron) ID

func (c *Cron) ID() uuid.UUID

func (*Cron) Listen

func (c *Cron) Listen(ctx context.Context)

Jump to

Keyboard shortcuts

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