Discover Packages
github.com/iosif02/flow
state
change
package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Sep 22, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types type Flow type Link type Queue type Task type Type
Documentation
¶
type Flow struct {
NewFlow bool `json:"newFlow,omitEmpty"`
FlowURI string `json:"flowURI,omitEmpty"`
SubflowId int `json:"subflowId,omitEmpty"`
TaskId string `json:"taskId,omitEmpty"`
Status int `json:"status,omitEmpty"`
Attrs map[string ]interface{} `json:"attrs,omitEmpty"`
Tasks map[string ]*Task `json:"tasks,omitEmpty"`
Links map[int ]*Link `json:"links,omitEmpty"`
ReturnData map[string ]interface{} `json:"returnData,omitEmpty"`
}
type Link struct {
ChgType Type `json:"change"`
Status int `json:"status,omitEmpty"`
From string `json:"from,omitEmpty"`
To string `json:"to,omitEmpty"`
}
type Queue struct {
ChgType Type `json:"change"`
SubflowId int `json:"subflowId,omitEmpty"`
TaskId string `json:"taskId,omitEmpty"`
}
type Task struct {
ChgType Type `json:"change"`
Status int `json:"status,omitEmpty"`
Input map[string ]interface{} `json:"input,omitEmpty"`
}
Type denotes the type of change for an object in an instance
Source Files
¶
Click to show internal directories.
Click to hide internal directories.