Browse Source

En cours de développement

master
mls-361 3 months ago
parent
commit
58d2e8844c
  1. 6
      cmd/main.go

6
cmd/main.go

@ -18,6 +18,7 @@ import (
"forge.chapril.org/armen/armen/internal/cmdline"
"forge.chapril.org/armen/armen/internal/components"
"forge.chapril.org/armen/armen/internal/config"
"forge.chapril.org/armen/armen/internal/crypto"
"forge.chapril.org/armen/armen/internal/logger"
"forge.chapril.org/armen/armen/internal/router"
"forge.chapril.org/armen/armen/internal/server"
@ -39,6 +40,11 @@ func createComponents(app components.Application) (components.Logger, components
return nil, nil, failure.Wrap(err, "logger") ///////////////////////////////////////////////////////////////////
}
_, err = crypto.Build(app)
if err != nil {
return nil, nil, failure.Wrap(err, "crypto") ///////////////////////////////////////////////////////////////////
}
router := router.Build(logger)
server, err := server.Build(config, logger, router)

Loading…
Cancel
Save