amazon-web-services - 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 因为它创建它下载对象并且没有收到任何作家的解决方案?
谢谢。
解决方案
推荐阅读
- eclipse - Groovy compiler on Eclipse doesn't include version 2.4 anymore
- postgresql - Spring Batch / Postgres:错误:关系“batch_job_instance”不存在
- reactjs - how to set A5 page size in react-to-print
- sql - Microsoft SQL Server , view transformation
- asp.net - ASP.net core Blazor Server _ Client Architectural
- python - Multiprocessing IndexError out of range
- sql - How to get the 2 most recent values from a table
- javascript - Swup 单击不同按钮时更改动画
- python - 将 Scala 代码转换为 Python 以进行报告
- java - PKIX 路径构建失败:SunCertPathBuilderException:无法找到请求的有效证书路径