Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LegitimizeFileApi ¶
LegitimizeFileApi API struct.
func NewLegitimizeFileApi ¶
func NewLegitimizeFileApi() *LegitimizeFileApi
NewLegitimizeFileApi As a constructor to legitimize file API. Related with LegitimizeFileApi
func (*LegitimizeFileApi) Handle ¶
func (h *LegitimizeFileApi) Handle(c *core.Ctx) error
Handle Process main logic for API. @Summary Legitimize uploaded file @Description Legitimize uploaded file @Tags Storage @Accept json @Produce json @Success 200 {array} dto.LegitimizeItem @Param data body request.LegitimizeFile true "Legitimize uploaded file payload" @Failure 400 {object} http.Error @Failure 401 {object} http.Error @Security ApiKeyAuth @Router /storage/legitimize-files [put]
type PresignedURLApi ¶
PresignedURLApi API struct.
func NewPresignedURLApi ¶
func NewPresignedURLApi() *PresignedURLApi
NewPresignedURLApi As a constructor to get pre-signed URL. Related with NewPresignedURLApi
func (*PresignedURLApi) Handle ¶
func (h *PresignedURLApi) Handle(c *core.Ctx) error
Handle Process main logic for API. @Summary Get Pre-sign URL to upload @Description Get Pre-sign URL to upload @Tags Storage @Accept json @Produce json @Param filename query string true "Filename" @Failure 400 {object} http.Error @Failure 401 {object} http.Error @Success 200 {object} response.PresignedURL @Security ApiKeyAuth @Router /storage/presigned-url [get]