Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler serves workflow endpoints.
func NewHandler ¶
NewHandler creates a workflow HTTP handler.
type RunRequest ¶
type RunRequest struct {
Location string `json:"location"`
TaskID string `json:"taskId,omitempty"`
Input interface{} `json:"input,omitempty"`
Title string `json:"title,omitempty"`
TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
}
RunRequest describes a workflow run to execute.
type RunResponse ¶
type RunResponse struct {
ConversationID string `json:"conversationId"`
}
RunResponse is the result of launching a workflow run.
Click to show internal directories.
Click to hide internal directories.