You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/pkg/api_struct/cos_api_struct.go

21 lines
471 B

2 years ago
package api_struct
3 years ago
import sts "github.com/tencentyun/qcloud-cos-sts-sdk/go"
type TencentCloudStorageCredentialReq struct {
OperationID string `json:"operationID"`
}
3 years ago
type TencentCloudStorageCredentialRespData struct {
3 years ago
*sts.CredentialResult
Region string `json:"region"`
Bucket string `json:"bucket"`
3 years ago
}
type TencentCloudStorageCredentialResp struct {
CommResp
3 years ago
CosData TencentCloudStorageCredentialRespData `json:"-"`
Data map[string]interface{} `json:"data"`
3 years ago
}