Documentation
¶
Index ¶
- func DeleteHandler(e echo.Context) error
- func ExportWorkflow(e echo.Context) error
- func GetHandler(e echo.Context) error
- func Init(workflowS service.WorkflowService, userS service.UserService, ...)
- func ListCustomNodeHandler(e echo.Context) error
- func ListHandler(e echo.Context) error
- func ListPublishedHandler(e echo.Context) error
- func UpdateHandler(e echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportWorkflow ¶
Returns a file export of a given workflow
func GetHandler ¶
Returns a workflow by the provided id with a set OwnerEthAddress
func Init ¶
func Init(workflowS service.WorkflowService, userS service.UserService, nodeS service.NodeService)
func ListCustomNodeHandler ¶
Returns a list of custom node handlers
func ListPublishedHandler ¶
List published workflows
func UpdateHandler ¶
Updates a workflow with the given workflowitem data
@param json => {
Permissions
ID string `json:"id" storm:"id"`
Name string `json:"name" storm:"index"`
Detail string `json:"detail"`
//Permissions Permissions `json:"permissions"`
Updated time.Time `json:"updated" storm:"index"`
Created time.Time `json:"created" storm:"index"`
Price uint64 `json:"price" storm:"index"`
Data *workflow.Workflow `json:"data"`
OwnerEthAddress string `json:"ownerEthAddress"` //only used in frontend
Deactivated bool `json:"deactivated"`
}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.