Documentation
¶
Index ¶
- Constants
- type API
- func (a *API) BindingsOnly(x workflow.UpdateM, y node.OutputM)
- func (a *API) Close()
- func (a *API) CreateNode(nodeType int) *workflow.NodeM
- func (a *API) CreateWorkflow() *workflow.WorkflowM
- func (a *API) CreateWorkflowFromRequest(reqU map[string]interface{}) *workflow.WorkflowM
- func (a *API) CreateWorkspace(template *workspace.Workspace) *workspace.Workspace
- func (a *API) DeleteWorkspace(id string)
- func (a *API) DropInterceptedRequest(modified packaging.HttpRequest)
- func (a *API) FormatCode(msg, contentType string) string
- func (a *API) GenerateID() string
- func (a *API) GetSettings() settings.Settings
- func (a *API) GetVersionInfo() VersionInfo
- func (a *API) GetWorkspace() *workspace.Workspace
- func (a *API) GetWorkspaces() []*workspace.Workspace
- func (a *API) HighlightBody(body, contentType string) string
- func (a *API) HighlightHTTP(code string) string
- func (a *API) LoadWorkspace(id string) *workspace.Workspace
- func (a *API) ModifyInterceptedRequest(modified packaging.HttpRequest)
- func (a *API) RunWorkflow(w *workflow.WorkflowM)
- func (a *API) SaveSettings(newSettings *settings.Settings)
- func (a *API) SaveWorkspace(ws *workspace.Workspace)
- func (a *API) SendRequest(req packaging.HttpRequest)
- func (a *API) SetWorkspace(workspace *workspace.Workspace)
- func (a *API) StartProxy()
- func (a *API) StopProxy() error
- func (a *API) StopWorkflow()
- func (a *API) Test(input string) string
- type VersionInfo
Constants ¶
View Source
const ( EventHttpRequest = "HttpRequest" EventHttpResponse = "HttpResponse" // EventProxyStatus is emitted when the proxy status changes, also includes the proxy address and a message EventProxyStatus = "ProxyStatusChange" EventInterceptedRequest = "InterceptedRequest" EventTreeUpdate = "TreeUpdate" EventInterceptedRequestQueueChange = "InterceptedRequestQueueChange" EventWorkflowStarted = "WorkflowStarted" EventWorkflowFinished = "WorkflowFinished" EventWorkflowUpdate = "WorkflowUpdated" EventWorkflowOutput = "WorkflowOutput" EventNotifyUser = "NotifyUser" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) CreateWorkflow ¶
func (*API) CreateWorkflowFromRequest ¶
func (*API) CreateWorkspace ¶
func (*API) DeleteWorkspace ¶
func (*API) DropInterceptedRequest ¶
func (a *API) DropInterceptedRequest(modified packaging.HttpRequest)
func (*API) FormatCode ¶
func (*API) GenerateID ¶
func (*API) GetSettings ¶
func (*API) GetVersionInfo ¶
func (a *API) GetVersionInfo() VersionInfo
func (*API) GetWorkspace ¶
func (*API) GetWorkspaces ¶
func (*API) HighlightBody ¶
func (*API) HighlightHTTP ¶
func (*API) ModifyInterceptedRequest ¶
func (a *API) ModifyInterceptedRequest(modified packaging.HttpRequest)
func (*API) RunWorkflow ¶
func (*API) SaveSettings ¶
func (*API) SaveWorkspace ¶
func (*API) SendRequest ¶
func (a *API) SendRequest(req packaging.HttpRequest)
func (*API) SetWorkspace ¶
func (*API) StartProxy ¶
func (a *API) StartProxy()
func (*API) StopWorkflow ¶
func (a *API) StopWorkflow()
type VersionInfo ¶
Click to show internal directories.
Click to hide internal directories.