2021-07-26 12:52:36 +00:00
|
|
|
package main
|
|
|
|
|
2021-08-01 11:00:47 +00:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
|
|
|
s3browser "git.kapelle.org/niklas/s3browser/internal"
|
|
|
|
)
|
2021-07-26 12:52:36 +00:00
|
|
|
|
|
|
|
func main() {
|
|
|
|
s3browser.Start(s3browser.AppConfig{
|
2021-08-01 11:00:47 +00:00
|
|
|
S3Endoint: "localhost:9000",
|
|
|
|
S3SSL: false,
|
|
|
|
S3AccessKey: "testo",
|
|
|
|
S3SecretKey: "testotesto",
|
|
|
|
S3Buket: "dev",
|
|
|
|
CacheTTL: 20 * time.Second,
|
|
|
|
CacheCleanup: 1 * time.Minute,
|
2021-07-26 12:52:36 +00:00
|
|
|
})
|
|
|
|
}
|