trigger

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpServer added in v0.0.48

func HttpServer(parentCtx context.Context, serverCfg *config.HttpServerCfg, ignoreTrigger []string) *httpServer

func Scheduler

func Scheduler(parentCtx context.Context, name string, cfg *config.SchedulerTrigger) *scheduler

Types

type Message added in v0.0.48

type Message struct {
	Name  string
	Value builder.Interfacable
}

type Trigger

type Trigger interface {
	Run(chan<- *Message)
	Stop()
}

func CreateTriggers added in v1.0.10

func CreateTriggers(ctx context.Context, cfg *config.Config, logger logger.Logger) []Trigger

Jump to

Keyboard shortcuts

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