everFinance / goar

Arweave http client and wallet implemented in go, Arweave SDK
Apache License 2.0
142 stars 45 forks source link

Can goar support uploading file with streaming style? #46

Closed daqiancode closed 5 months ago

daqiancode commented 1 year ago

Current API only support uploading bytes([]byte). It is obviously not good for upload big files(e.g., video files) at same time. Shall we consider arweave API like S3? PutObject(reader io.Reader, objectSize int64, opt PubObjectOption) (PutObjectResult, err error)

Thanks a lot

zyjblockchain commented 1 year ago

It is already in development and can be seen in Pull requests

zyjblockchain commented 6 months ago

We now support streaming file uploads.