Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IProfileUploader ¶
type IProfileUploader interface {
UploadProfile(target string, rs io.ReadSeeker) error
}
func GetFileSaver ¶
func GetFileSaver() IProfileUploader
func NewNullUploader ¶ added in v1.0.19
func NewNullUploader() IProfileUploader
type S3Uploader ¶ added in v1.2.2
type S3Uploader struct {
// contains filtered or unexported fields
}
func NewUploaderWithBucket ¶ added in v1.2.2
func NewUploaderWithBucket(bucket string) *S3Uploader
func NewUploaderWithConfig ¶ added in v1.2.28
func NewUploaderWithConfig(bucket string, cfg *aws.Config) *S3Uploader
func NewUploaderWithSession ¶ added in v1.2.28
func NewUploaderWithSession(bucket string, sess *session.Session) *S3Uploader
func (*S3Uploader) UploadProfile ¶ added in v1.2.2
func (sm *S3Uploader) UploadProfile(target string, rs io.ReadSeeker) error
Click to show internal directories.
Click to hide internal directories.