首页 > 解决方案 > io.Pipe 与 WriteAtBuffer

问题描述

我想使用流式传输下载文件并将其上传到 aws s3。我想使用 io.Pipe 但我不能因为下载器结构

https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#Downloader.Download

使用“WriterAt”接口。和 io.Pipe 提供了一个 io.Writer 我没有成功使用常规 GetObject 因为它创建它下载对象并且没有收到任何作家的解决方案?

谢谢。

标签: amazon-web-servicesgoamazon-s3

解决方案


推荐阅读