Documentation
¶
Index ¶
- type GetPresignedUrl
- type Handler
- func (h *Handler) Download(ctx *gin.Context)
- func (h *Handler) GetPresignedUrl(ctx *gin.Context, req GetPresignedUrl) (ginx.Result, error)
- func (h *Handler) PublicRoutes(server *gin.Engine)
- func (h *Handler) PutPresignedUrl(ctx *gin.Context, req PutPresignedUrl) (ginx.Result, error)
- func (h *Handler) RemoveObject(ctx *gin.Context, req RemoveObjectReq) (ginx.Result, error)
- func (h *Handler) Upload(ctx *gin.Context)
- type PutPresignedUrl
- type RemoveObjectReq
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 (*Handler) GetPresignedUrl ¶ added in v1.8.0
func (*Handler) PublicRoutes ¶
func (*Handler) PutPresignedUrl ¶ added in v1.8.0
func (*Handler) RemoveObject ¶ added in v1.8.0
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"`
}
Click to show internal directories.
Click to hide internal directories.