worker

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(engine *requests.Engine, config *Config) error

Types

type Config

type Config struct{}

type ResponseMsg

type ResponseMsg struct {
	TriggerID uuid.UUID       `json:"trigger_id"`
	Workflow  string          `json:"workflow"`
	Error     string          `json:"error,omitempty"`
	Output    json.RawMessage `json:"output"`
}

type TriggerMsg

type TriggerMsg struct {
	TriggerID uuid.UUID     `json:"trigger_id"`
	Request   *oapi.Request `json:"request"`
}

Jump to

Keyboard shortcuts

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