web

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutedPath added in v1.8.0

type ExecutedPath struct {
	Edges   [][2]string     // deduped executed (from,to) pairs, in first-seen order
	Visited map[string]bool // every node touched, including the current state
	Current string          // the workflow's current state ("you are here")
}

ExecutedPath captures which edges and nodes a specific workflow instance actually traversed, derived from its WorkflowAction history.

type ExecutorModel

type ExecutorModel struct {
	ID        int64
	Group     string
	Host      string
	StartedAt string
	LastAlive string
	CssClass  string
}

ExecutorModel maps executor info for the view.

type WebController

type WebController struct {
	controllers.AuthController
	// contains filtered or unexported fields
}

func NewWebController

func NewWebController(manager *engine.WorkflowManager, userRepo engine.UserRepo) *WebController

func (*WebController) RegisterRoutes

func (c *WebController) RegisterRoutes()

type WorkflowDefinitionModel

type WorkflowDefinitionModel struct {
	Group     string
	Name      string
	FlowChart string
	Created   string
	Updated   string
}

WorkflowDefinitionModel is a lightweight view model for the definitions list to mirror the Java WorkflowDefinitionModel with formatted dates.

Jump to

Keyboard shortcuts

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