Documentation ¶
Index ¶
- Constants
- type App
- func (a *App) Confirm(title, msg string) bool
- func (a *App) CreateNode(nodeType int) *workflow.NodeM
- func (a *App) CreateWorkflow() *workflow.WorkflowM
- func (a *App) CreateWorkflowFromRequest(reqU map[string]interface{}) *workflow.WorkflowM
- func (a *App) CreateWorkspace(template *workspace.Workspace) *workspace.Workspace
- func (a *App) DeleteWorkspace(id string)
- func (a *App) Error(title, msg string)
- func (a *App) ExportWorkflow(w *workflow.WorkflowM)
- func (a *App) FormatCode(msg, contentType string) string
- func (a *App) GenerateID() string
- func (a *App) GetSettings() settings.Settings
- func (a *App) GetVersionInfo() VersionInfo
- func (a *App) GetWorkspaces() []*workspace.Workspace
- func (a *App) HighlightBody(body, contentType string) string
- func (a *App) HighlightHTTP(code string) string
- func (a *App) IgnoreThisUsedBindings(_ node.OutputM) workflow.UpdateM
- func (a *App) ImportWorkflow() (*workflow.WorkflowM, error)
- func (a *App) LoadWorkspace(id string) *workspace.Workspace
- func (a *App) Notify(title, msg string)
- func (a *App) RunWorkflow(w *workflow.WorkflowM)
- func (a *App) SaveSettings(newSettings *settings.Settings)
- func (a *App) SaveWorkspace(ws *workspace.Workspace)
- func (a *App) SelectFile(title string) (string, error)
- func (a *App) SetWorkspace(workspace *workspace.Workspace)
- func (a *App) Shutdown(_ context.Context)
- func (a *App) StartProxy()
- func (a *App) Startup(ctx context.Context)
- func (a *App) StopProxy()
- func (a *App) StopWorkflow(w *workflow.WorkflowM)
- func (a *App) Warn(title, msg string)
- type VersionInfo
Constants ¶
View Source
const ( EventHttpRequest = "HttpRequest" EventHttpResponse = "HttpResponse" EventProxyStatus = "ProxyStatusChange" EventCAExport = "CAExport" EventInterceptRequestModified = "InterceptedRequestChange" EventInterceptRequestDropped = "InterceptedRequestDrop" EventInterceptedRequest = "InterceptedRequest" EventTreeUpdate = "TreeUpdate" EventSendRequest = "SendRequest" EventInterceptedRequestQueueChange = "InterceptedRequestQueueChange" EventWorkflowStarted = "WorkflowStarted" EventWorkflowFinished = "WorkflowFinished" EventWorkflowUpdate = "WorkflowUpdated" EventWorkflowOutput = "WorkflowOutput" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App struct
func (*App) CreateWorkflow ¶
func (*App) CreateWorkflowFromRequest ¶
func (*App) CreateWorkspace ¶
func (*App) DeleteWorkspace ¶
func (*App) ExportWorkflow ¶
func (*App) FormatCode ¶
func (*App) GenerateID ¶
func (*App) GetSettings ¶
func (*App) GetVersionInfo ¶
func (a *App) GetVersionInfo() VersionInfo
func (*App) GetWorkspaces ¶
func (*App) HighlightBody ¶
func (*App) HighlightHTTP ¶
func (*App) IgnoreThisUsedBindings ¶
func (*App) RunWorkflow ¶
func (*App) SaveSettings ¶
func (*App) SaveWorkspace ¶
func (*App) SetWorkspace ¶
func (*App) Shutdown ¶
Shutdown is called when the app is shutting down - we can cleanly stop the proxy here
func (*App) StartProxy ¶
func (a *App) StartProxy()
func (*App) Startup ¶
Startup is called when the app starts. The context is saved so we can call the runtime methods
func (*App) StopWorkflow ¶
type VersionInfo ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package packaging provides functions to convert to and from http.Request/Response and json marshallable equivalents.
|
Package packaging provides functions to convert to and from http.Request/Response and json marshallable equivalents. |
Click to show internal directories.
Click to hide internal directories.