Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
ErrorResponse is a standard JSON error envelope.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the HTTP API for the sidecar.
type TaskRequest ¶
type TaskRequest struct {
ID string `json:"id,omitempty"`
Type string `json:"type"`
Params map[string]any `json:"params,omitempty"`
}
TaskRequest is the JSON body for POST /v0/tasks. When ID is provided, the engine uses it as the task's canonical identifier; otherwise a random UUID is generated.
Click to show internal directories.
Click to hide internal directories.