Open-IM-Server/pkg/base_info/cos_api_struct.go

21 lines
470 B

3 years ago
package base_info
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
}