handler

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 21 Imported by: 0

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