Documentation
¶
Index ¶
- Constants
- 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) PrivateRoutes(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 ¶
View Source
const DefaultBucket = "ecmdb"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetPresignedUrl ¶
type Handler ¶
type Handler struct {
capability.IRegistry
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(svc service.Service) *Handler
func (*Handler) GetPresignedUrl ¶
func (*Handler) PrivateRoutes ¶
func (*Handler) PutPresignedUrl ¶
func (*Handler) RemoveObject ¶
type PutPresignedUrl ¶
type RemoveObjectReq ¶
Click to show internal directories.
Click to hide internal directories.