the big refactor

This commit is contained in:
2021-09-24 15:39:23 +02:00
parent a3e66cd351
commit ed932e3c92
13 changed files with 196 additions and 171 deletions

View File

@@ -4,6 +4,7 @@ import (
"time"
s3browser "git.kapelle.org/niklas/s3browser/internal"
types "git.kapelle.org/niklas/s3browser/internal/types"
"github.com/alexflint/go-arg"
)
@@ -28,7 +29,7 @@ func main() {
var args args
arg.MustParse(&args)
s3browser.Start(s3browser.AppConfig{
s3browser.Start(types.AppConfig{
S3Endoint: args.S3Endpoint,
S3SSL: !args.S3DisableSSL,
S3AccessKey: args.S3AccessKey,