Documentation ¶
Index ¶
- func DownloadFile(ctx context.Context, s3URL, fileURL string, cfg *Config) error
- func DownloadWriter(ctx context.Context, s3URL string, writer io.WriterAt, cfg *Config) error
- func Exists(ctx context.Context, s3Url string, cfg *Config) (exits bool, err error)
- func GetSize(ctx context.Context, s3Url string, cfg *Config) (size int64, err error)
- func UploadFile(ctx context.Context, fileURL, s3URL, contentType, contentEncoding string, ...) error
- func UploadReader(ctx context.Context, reader io.Reader, ...) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
DownloadFile downloads from s3 to file
func DownloadWriter ¶
DownloadWriter downloads from s3 to writer
Types ¶
Click to show internal directories.
Click to hide internal directories.