Help us shape the future of Go! Take the 2026 Go Developer Survey

periodictrigger

package
v0.6.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeriodicTrigger

type PeriodicTrigger struct {
	ID string

	client.Client

	context.Context
	// contains filtered or unexported fields
}

PeriodicTrigger schedules periodic jobs.

func New

New is a constructor of a PeriodicTrigger

func (*PeriodicTrigger) Start

func (pt *PeriodicTrigger) Start() error

Start starts the cron

func (*PeriodicTrigger) Stop

func (pt *PeriodicTrigger) Stop()

Stop stops the cron

Jump to

Keyboard shortcuts

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