rest

package
v0.0.0-...-f54b72f Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PhotoHandler

type PhotoHandler interface {
	Upload(c *fiber.Ctx) error
	CheckResult(c *fiber.Ctx) error
	GetPhoto(c *fiber.Ctx) error
}

func NewPhotoHandler

func NewPhotoHandler(photoService photo.Service, photoProducer queue.Producer) PhotoHandler

type ResponseError

type ResponseError struct {
	Message string `json:"message"`
}

ResponseError represents an error response

Jump to

Keyboard shortcuts

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