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 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…
Cancel
Save