Help us shape the future of Go! Take the 2026 Go Developer Survey

mergent

package
v0.77.13 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageProcessor

func ImageProcessor(client *hatchet.Client) *hatchet.StandaloneTask

func ProcessImage

func ProcessImage(imageURL string, filters []string) (map[string]interface{}, error)

ProcessImage simulates image processing

func RunMergentTask

func RunMergentTask() error

func RunningTasks

func RunningTasks(client *hatchet.Client) error

Types

type ImageProcessInput

type ImageProcessInput struct {
	ImageURL string   `json:"image_url"`
	Filters  []string `json:"filters"`
}

> After (Hatchet)

type ImageProcessOutput

type ImageProcessOutput struct {
	ProcessedURL string `json:"processed_url"`
	Metadata     struct {
		Size           int      `json:"size"`
		Format         string   `json:"format"`
		AppliedFilters []string `json:"applied_filters"`
	} `json:"metadata"`
}

type MergentRequest

type MergentRequest struct {
	ImageURL string   `json:"image_url"`
	Filters  []string `json:"filters"`
}

> Before (Mergent)

type MergentResponse

type MergentResponse struct {
	Success      bool   `json:"success"`
	ProcessedURL string `json:"processed_url"`
}

func ProcessImageMergent

func ProcessImageMergent(req MergentRequest) (*MergentResponse, error)

Jump to

Keyboard shortcuts

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