Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix wrong function desc in Chinese doc #1807

Merged
merged 1 commit into from
Jun 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/zh_CN/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -1400,9 +1400,9 @@ fmt.Println("Successfully generated presigned URL", presignedURL)

<a name="PresignedPutObject"></a>
### PresignedPutObject(bucketName, objectName string, expiry time.Duration) (*url.URL, error)
生成一个用于HTTP GET操作的presigned URL。浏览器/移动客户端可以在即使存储桶为私有的情况下也可以通过这个URL进行下载。这个presigned URL可以有一个过期时间,默认是7天
为HTTP PUT操作生成一个presigned URL。浏览器/移动客户端可以在即使存储桶为私有的情况下也可以通过这个URL进行上传。这个presigned URL可以有一个过期时间(以秒为单位),过期后,该URL不再可用。默认设置的过期时间为7天

注意:你可以通过只指定对象名称上传到S3
注意:你只能用指定的对象名称上传到S3

__参数__

Expand Down Expand Up @@ -1430,7 +1430,7 @@ fmt.Println("Successfully generated presigned URL", presignedURL)

<a name="PresignedHeadObject"></a>
### PresignedHeadObject(bucketName, objectName string, expiry time.Duration, reqParams url.Values) (*url.URL, error)
生成一个用于HTTP GET操作的presigned URL。浏览器/移动客户端可以在即使存储桶为私有的情况下也可以通过这个URL进行下载。这个presigned URL可以有一个过期时间,默认是7天
为HTTP HEAD操作生成一个presigned URL。浏览器/移动客户端可以在即使存储桶为私有的情况下也可以通过这个URL获取对象的元数据。这个presigned URL可以有一个相关的过期时间(以秒为单位),过期后,该URL不再可用。默认的过期时间被设置为7天

__参数__

Expand Down