mirror of
https://github.com/gofiber/storage.git
synced 2025-10-04 00:06:35 +08:00
23 lines
342 B
Go
23 lines
342 B
Go
package s3
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
var testStore *Storage
|
|
|
|
func init() {
|
|
testStore = New(
|
|
Config{
|
|
Bucket: "testbucket",
|
|
Endpoint: "http://127.0.0.1:9000/",
|
|
Region: "us-east-1",
|
|
Credentials: Credentials{
|
|
AccessKey: "minioadmin",
|
|
SecretAccessKey: "minioadmin",
|
|
},
|
|
RequestTimeout: 10 * time.Second,
|
|
},
|
|
)
|
|
}
|