webhook

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

internal/webhook/handler.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnqueueHandler

func EnqueueHandler(c *gin.Context)

EnqueueHandler accepts form-values (URL-based flow), enqueues a job, and returns JSON{"jobId": "..."}.

func StatusHandler

func StatusHandler(c *gin.Context)

StatusHandler returns current status & message for a given jobId.

func UploadHandler added in v0.2.0

func UploadHandler(c *gin.Context)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL