uploader

package
v1.2.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: MIT Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL