handler

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 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 {
	// contains filtered or unexported fields
}

BaseHandler struct

type ImageReductionHandler

type ImageReductionHandler struct {
	BaseHandler
}

ImageReductionHandler struct

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 (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