Files
open-im-server/pkg/base_info/cos_api_struct.go
T

21 lines
470 B
Go
Raw Normal View History

2022-01-17 18:00:25 +08:00
package base_info
import sts "github.com/tencentyun/qcloud-cos-sts-sdk/go"
type TencentCloudStorageCredentialReq struct {
OperationID string `json:"operationID"`
}
2022-01-17 18:25:35 +08:00
type TencentCloudStorageCredentialRespData struct {
2022-02-16 19:41:44 +08:00
*sts.CredentialResult
Region string `json:"region"`
Bucket string `json:"bucket"`
2022-01-17 18:00:25 +08:00
}
type TencentCloudStorageCredentialResp struct {
CommResp
2022-02-16 19:41:44 +08:00
CosData TencentCloudStorageCredentialRespData `json:"-"`
Data map[string]interface{} `json:"data"`
2022-01-17 18:00:25 +08:00
}