Documentation
¶
Overview ¶
设置存储空间的 cache-control: max-age 响应头
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Bucket string // 空间名称 MaxAge int64 // maxAge 为 0 或者负数表示为默认值(31536000) Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider }
调用 API 所用的请求
Click to show internal directories.
Click to hide internal directories.