Files
open-im-server/pkg/apistruct/cos.go
T

20 lines
460 B
Go
Raw Normal View History

2023-06-30 09:45:02 +08:00
package apistruct
2023-06-29 22:35:31 +08:00
import sts "github.com/tencentyun/qcloud-cos-sts-sdk/go"
type TencentCloudStorageCredentialReq struct {
OperationID string `json:"operationID"`
}
type TencentCloudStorageCredentialRespData struct {
*sts.CredentialResult
Region string `json:"region"`
Bucket string `json:"bucket"`
}
type TencentCloudStorageCredentialResp struct {
CosData TencentCloudStorageCredentialRespData `json:"-"`
Data map[string]interface{} `json:"data"`
}