# Functions
ChunkUpload 文件分块上传 need config: 需要config: "oss": { "chunkSize":5120000, "cloud": "aliyun", "xxx": { "endpoint": "xxx", "accessKey": "xxx", "accessSecret": "xxx", "bucket": { "data": "xxx", "pub": "xxx" } }, "xxx": { "endpoint": "xxx", "accessKey": "xxx", "accessSecret": "xxx", "bucket": { "data": "xxx", "pub": "xxx" } } }, prefer 如果为空,则取Default dfsID 调用SetMultiPartDfsID或是SetDfsID方法生成 bucketType 如果不传,则表示是data.
ChunkUploadGetStream chunk upload for get 400 NotExist client should call post to upload this part 200 OK client need to ignore this part 300 dfsID caller should do other thing, then client can get success upload infor 500 client need to upload whole file again.
No description provided by the author
No description provided by the author
ChunkUploadPostStream chunk upload for post 400 NotExist client should call post to upload this part 200 OK client need to ignore this part 300 dfsID caller should do other thing, then client can get success upload infor 500 client need to upload whole file again.
No description provided by the author
No description provided by the author
GetFile get file bytes, filename,content-type, size from aws s3.
GetTempDownURLFileName get temp download url from aws s3.
PutByteFile need config: 需要config: "oss": { "cloud": "aws", "default": { "endpoint": "xxx", "accessKey": "xxx", "accessSecret": "xxx", "bucket": { "data": "xxx", "pub": "xxx" } }, "xxx": { "endpoint": "xxx", "accessKey": "xxx", "accessSecret": "xxx", "bucket": { "data": "xxx", "pub": "xxx" } } },.
PutFile need config: 需要config: "oss": { "cloud": "aws", "xxx": { "endpoint": "xxx", "accessKey": "xxx", "accessSecret": "xxx", "bucket": { "data": "xxx", "pub": "xxx" } }, "xxx": { "endpoint": "xxx", "accessKey": "xxx", "accessSecret": "xxx", "bucket": { "data": "xxx", "pub": "xxx" } } },.
# Structs
No description provided by the author