handlers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIMux

func APIMux(cfg APIMuxConfig) *web.App

Types

type APIMuxConfig

type APIMuxConfig struct {
	Engine          *streamlet.BPMNEngine
	ProcessHandlers []ProcessHandler
}

type ProcessEngineHandlers

type ProcessEngineHandlers struct {
	DebugProcessInstanceTemplate *template.Template
	DebugTaskTemplate            *template.Template
	// contains filtered or unexported fields
}

func NewProcessEngineHandlers

func NewProcessEngineHandlers(engine *streamlet.BPMNEngine) *ProcessEngineHandlers

type ProcessHandler added in v0.2.0

type ProcessHandler struct {
	Engine              *streamlet.BPMNEngine
	ProcessKey          string
	StartHandler        web.Handler
	CompleteTaskHandler web.Handler
}

Jump to

Keyboard shortcuts

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