handler

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: MIT Imports: 22 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseHandler

type BaseHandler struct {
	UcCluster *uccluster.UsecaseCluster
}

BaseHandler struct.

type ImageReductionHandler

type ImageReductionHandler struct {
	BaseHandler
}

ImageReductionHandler struct.

func NewImageReductionHandler added in v1.11.0

func NewImageReductionHandler(baseHandler BaseHandler) *ImageReductionHandler

func (*ImageReductionHandler) Request

func (irh *ImageReductionHandler) Request(c *echo.Context) error

Request is get from storage.

func (*ImageReductionHandler) RequestFile

func (irh *ImageReductionHandler) RequestFile(c *echo.Context) error

RequestFile is get non image file from storage.

func (*ImageReductionHandler) RequestInfo

func (irh *ImageReductionHandler) RequestInfo(c *echo.Context) error

RequestInfo is get info from storage.

func (*ImageReductionHandler) RequestStreaming

func (irh *ImageReductionHandler) RequestStreaming(c *echo.Context) error

RequestStreaming is get non image file from storage by streaming.

func (*ImageReductionHandler) Upload

func (irh *ImageReductionHandler) Upload(c *echo.Context) error

Upload is to upload to storage.

func (*ImageReductionHandler) UploadFile

func (irh *ImageReductionHandler) UploadFile(c *echo.Context) error

UploadFile is to upload non image file to storage.

type TokenHandler

type TokenHandler struct {
	BaseHandler
}

TokenHandler struct.

func NewTokenHandler added in v1.11.0

func NewTokenHandler(baseHandler BaseHandler) *TokenHandler

func (*TokenHandler) Request

func (th *TokenHandler) Request(c *echo.Context) error

Request is get from storage.

Jump to

Keyboard shortcuts

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