Update aws.go

pull/1858/head
Xinwei Xiong 2 years ago committed by GitHub
parent f3318c6a39
commit 636f45d614
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -38,20 +38,20 @@ const (
maxNumSize int64 = 10000
)
const (
imagePng = "png"
imageJpg = "jpg"
imageJpeg = "jpeg"
imageGif = "gif"
imageWebp = "webp"
)
// const (
// imagePng = "png"
// imageJpg = "jpg"
// imageJpeg = "jpeg"
// imageGif = "gif"
// imageWebp = "webp"
// )
const successCode = http.StatusOK
// const successCode = http.StatusOK
const (
videoSnapshotImagePng = "png"
videoSnapshotImageJpg = "jpg"
)
// const (
// videoSnapshotImagePng = "png"
// videoSnapshotImageJpg = "jpg"
// )
func NewAWS() (s3.Interface, error) {
conf := config.Config.Object.Aws

Loading…
Cancel
Save