trigger

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trigger

type Trigger interface {
	Trigger(ctx context.Context, ch chan<- struct{}) error
}

func NewFunc

func NewFunc(f func(ctx context.Context, ch chan<- struct{}) error) Trigger

func NewRightAway

func NewRightAway() Trigger

func NewTimeOfDay

func NewTimeOfDay(timeOfDay pkg.TimeOfDay) Trigger

Jump to

Keyboard shortcuts

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