web

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetPresignedUrl added in v1.8.0

type GetPresignedUrl struct {
	ObjectName string `json:"object_name"`
}

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(svc service.Service) *Handler

func (*Handler) Download

func (h *Handler) Download(ctx *gin.Context)

func (*Handler) GetPresignedUrl added in v1.8.0

func (h *Handler) GetPresignedUrl(ctx *gin.Context, req GetPresignedUrl) (ginx.Result, error)

func (*Handler) PublicRoutes

func (h *Handler) PublicRoutes(server *gin.Engine)

func (*Handler) PutPresignedUrl added in v1.8.0

func (h *Handler) PutPresignedUrl(ctx *gin.Context, req PutPresignedUrl) (ginx.Result, error)

func (*Handler) RemoveObject added in v1.8.0

func (h *Handler) RemoveObject(ctx *gin.Context, req RemoveObjectReq) (ginx.Result, error)

func (*Handler) Upload

func (h *Handler) Upload(ctx *gin.Context)

type PutPresignedUrl added in v1.8.0

type PutPresignedUrl struct {
	ObjectName string `json:"object_name"`
}

type RemoveObjectReq added in v1.8.0

type RemoveObjectReq struct {
	ObjectName string `json:"object_name"`
}

Jump to

Keyboard shortcuts

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