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

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