Documentation
¶
Overview ¶
internal/webhook/handler.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnqueueHandler ¶
EnqueueHandler accepts form-values (URL-based flow), enqueues a job, and returns JSON{"jobId": "..."}.
func StatusHandler ¶
StatusHandler returns current status & message for a given jobId.
func StatusWSHandler ¶ added in v1.1.2
StatusWSHandler streams job updates over a WebSocket connection.
func UploadHandler ¶ added in v0.2.0
UploadHandler handles a single "file" field plus optional form values. It saves the uploaded file under ./uploads/<original-filename>, then enqueues it for processing (skipping download) and returns a JSON { jobId: "..." }.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.