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

19 lines
482 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 18:58:02 +08:00
*sts.CredentialResult `json:"credentialResult"`
Region string `json:"region"`
Bucket string `json:"bucket"`
2022-01-17 18:00:25 +08:00
}
type TencentCloudStorageCredentialResp struct {
CommResp
2022-01-17 18:25:35 +08:00
Data TencentCloudStorageCredentialRespData `json:"data"`
2022-01-17 18:00:25 +08:00
}