Documentation
¶
Index ¶
- type BaseHandler
- type ImageReductionHandler
- func (irh *ImageReductionHandler) Request(c *echo.Context) error
- func (irh *ImageReductionHandler) RequestFile(c *echo.Context) error
- func (irh *ImageReductionHandler) RequestInfo(c *echo.Context) error
- func (irh *ImageReductionHandler) RequestStreaming(c *echo.Context) error
- func (irh *ImageReductionHandler) Upload(c *echo.Context) error
- func (irh *ImageReductionHandler) UploadFile(c *echo.Context) error
- type TokenHandler
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
Click to show internal directories.
Click to hide internal directories.