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

20 lines
460 B
Go
Raw Normal View History

2023-02-09 16:11:18 +08:00
package apistruct
2023-02-01 12:16:14 +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"`
}