Documentation
¶
Index ¶
- type S3Module
- type S3Uploader
- func (uploader *S3Uploader) AsyncUpload(filePath, location, bucketName, objectName string) error
- func (uploader *S3Uploader) SyncDownload(filePath, location, bucketName, objectName string) (bool, error)
- func (uploader *S3Uploader) SyncUpload(filePath, location, bucketName, objectName string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Uploader ¶
func NewS3Uploader ¶
func NewS3Uploader(cfg *config.S3Config) (*S3Uploader, error)
func (*S3Uploader) AsyncUpload ¶
func (uploader *S3Uploader) AsyncUpload(filePath, location, bucketName, objectName string) error
func (*S3Uploader) SyncDownload ¶
func (uploader *S3Uploader) SyncDownload(filePath, location, bucketName, objectName string) (bool, error)
func (*S3Uploader) SyncUpload ¶
func (uploader *S3Uploader) SyncUpload(filePath, location, bucketName, objectName string) (bool, error)
Click to show internal directories.
Click to hide internal directories.