You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/pkg/base_info/minio_api_struct.go

26 lines
719 B

3 years ago
package base_info
type MinioStorageCredentialReq struct {
3 years ago
OperationID string `json:"operationID"`
3 years ago
}
type MiniostorageCredentialResp struct {
3 years ago
SecretAccessKey string `json:"secretAccessKey"`
3 years ago
AccessKeyID string `json:"accessKeyID"`
SessionToken string `json:"sessionToken"`
BucketName string `json:"bucketName"`
StsEndpointURL string `json:"stsEndpointURL"`
}
type MinioUploadFileReq struct {
3 years ago
OperationID string `form:"operationID"`
FileType int `form:"fileType"`
3 years ago
}
type MinioUploadFileResp struct {
URL string `json:"URL"`
NewName string `json:"newName"`
3 years ago
SnapshotURL string `json:"snapshotURL,omitempty"`
SnapshotNewName string `json:"snapshotName,omitempty"`
3 years ago
}