Documentation
¶
Overview ¶
Package workflow owns declarative workflow validation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Definition ¶
func Parse ¶
func Parse(raw json.RawMessage) (Definition, error)
type State ¶
type State struct {
Type string `json:"type"`
After string `json:"after"`
Event string `json:"event"`
Correlation string `json:"correlationKey"`
CorrelationExpr string `json:"correlationKeyExpr"`
When string `json:"when"`
True string `json:"true"`
False string `json:"false"`
Next string `json:"next"`
Target string `json:"target"`
Data json.RawMessage `json:"data"`
DataExpr string `json:"dataExpr"`
}
Click to show internal directories.
Click to hide internal directories.