Documentation
¶
Overview ¶
获取存储空间的域名列表
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainInfo ¶
type DomainInfo struct { Domain string // 域名 Bucket string // 存储空间名称 OwnerId int64 // 用户 UID AutoRefresh bool // 是否自动刷新 CreatedTime int64 // 域名创建时间 UpdatedTime int64 // 域名更新时间 }
存储空间的域名信息
func (*DomainInfo) MarshalJSON ¶
func (j *DomainInfo) MarshalJSON() ([]byte, error)
func (*DomainInfo) UnmarshalJSON ¶
func (j *DomainInfo) UnmarshalJSON(data []byte) error
type Request ¶
type Request struct { BucketName string // 要获取域名列表的目标空间名称 Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider }
调用 API 所用的请求
type Response ¶
type Response struct {
DomainInfos DomainInfos // 存储空间的域名信息列表
}
获取 API 所用的响应
func (*Response) MarshalJSON ¶
func (*Response) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.