routes

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputRoute

type InputRoute struct {
	Name             string   `json:"name"`
	Input            string   `json:"input"`
	InputFiles       []string `json:"input-files"`
	Actions          []string `json:"actions"`
	Plugins          Plugins  `json:"plugins"`
	Template         string   `json:"template"`
	SerializeActions bool     `json:"serialize-actions"`
	Scheduling       chan struct{}
}

func ConfigureTimeouts

func ConfigureTimeouts(route *InputRoute) *InputRoute

func (*InputRoute) IsSchedulerRun

func (route *InputRoute) IsSchedulerRun() bool

func (*InputRoute) StartScheduler

func (route *InputRoute) StartScheduler()

func (*InputRoute) StopScheduler

func (route *InputRoute) StopScheduler()

type Plugins

type Plugins struct {
	AggregateMessageNumber      int    `json:"aggregate-message-number"`
	AggregateMessageTimeout     string `json:"aggregate-message-timeout"`
	AggregateTimeoutSeconds     int
	UniqueMessageProps          []string `json:"unique-message-props"`
	UniqueMessageTimeout        string   `json:"unique-message-timeout"`
	UniqueMessageTimeoutSeconds int
}

Jump to

Keyboard shortcuts

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