Documentation ¶
Index ¶
- type FakeWriterAt
- type ObjectHandler
- func (h *ObjectHandler) Get(c *gin.Context, bucket string)
- func (h *ObjectHandler) GetCover(c *gin.Context)
- func (h *ObjectHandler) GetVideo(c *gin.Context)
- func (h *ObjectHandler) Put(c *gin.Context, bucket string)
- func (h *ObjectHandler) PutCover(c *gin.Context)
- func (h *ObjectHandler) PutVideo(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeWriterAt ¶
type FakeWriterAt struct {
// contains filtered or unexported fields
}
FakeWriterAt Ref: https://dev.to/flowup/using-io-reader-io-writer-in-go-to-stream-data-3i7b
type ObjectHandler ¶
type ObjectHandler struct { Uploader *s3manager.Uploader Downloader *s3manager.Downloader }
func (*ObjectHandler) GetCover ¶
func (h *ObjectHandler) GetCover(c *gin.Context)
func (*ObjectHandler) GetVideo ¶
func (h *ObjectHandler) GetVideo(c *gin.Context)
func (*ObjectHandler) PutCover ¶
func (h *ObjectHandler) PutCover(c *gin.Context)
func (*ObjectHandler) PutVideo ¶
func (h *ObjectHandler) PutVideo(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.