20 lines
350 B
Go
20 lines
350 B
Go
package main
|
|
|
|
import (
|
|
"time"
|
|
|
|
s3browser "git.kapelle.org/niklas/s3browser/internal"
|
|
)
|
|
|
|
func main() {
|
|
s3browser.Start(s3browser.AppConfig{
|
|
S3Endoint: "localhost:9000",
|
|
S3SSL: false,
|
|
S3AccessKey: "testo",
|
|
S3SecretKey: "testotesto",
|
|
S3Buket: "dev",
|
|
CacheTTL: 20 * time.Second,
|
|
CacheCleanup: 1 * time.Minute,
|
|
})
|
|
}
|