mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
Update aws.go
This commit is contained in:
parent
f3318c6a39
commit
636f45d614
@ -38,20 +38,20 @@ const (
|
|||||||
maxNumSize int64 = 10000
|
maxNumSize int64 = 10000
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// const (
|
||||||
imagePng = "png"
|
// imagePng = "png"
|
||||||
imageJpg = "jpg"
|
// imageJpg = "jpg"
|
||||||
imageJpeg = "jpeg"
|
// imageJpeg = "jpeg"
|
||||||
imageGif = "gif"
|
// imageGif = "gif"
|
||||||
imageWebp = "webp"
|
// imageWebp = "webp"
|
||||||
)
|
// )
|
||||||
|
|
||||||
const successCode = http.StatusOK
|
// const successCode = http.StatusOK
|
||||||
|
|
||||||
const (
|
// const (
|
||||||
videoSnapshotImagePng = "png"
|
// videoSnapshotImagePng = "png"
|
||||||
videoSnapshotImageJpg = "jpg"
|
// videoSnapshotImageJpg = "jpg"
|
||||||
)
|
// )
|
||||||
|
|
||||||
func NewAWS() (s3.Interface, error) {
|
func NewAWS() (s3.Interface, error) {
|
||||||
conf := config.Config.Object.Aws
|
conf := config.Config.Object.Aws
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user