trigger

package
v0.1.0-rc.21 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: AGPL-3.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 TriggerRunner

type TriggerRunner interface {
	Run()
}

func NewTriggerRunner

func NewTriggerRunner(ctx context.Context, esService *es.ESService, trigger *modconfig.Trigger) TriggerRunner

type TriggerRunnerBase

type TriggerRunnerBase struct {
	Ctx       context.Context
	Trigger   *modconfig.Trigger
	EsService *es.ESService
}

func (*TriggerRunnerBase) Run

func (tr *TriggerRunnerBase) Run()

type TriggerRunnerQuery

type TriggerRunnerQuery struct {
	TriggerRunnerBase
}

func (*TriggerRunnerQuery) Run

func (tr *TriggerRunnerQuery) Run()

Jump to

Keyboard shortcuts

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