Browse Source

En cours de développement

master
mls-361 2 months ago
parent
commit
b0ce25aee2
  1. 4
      internal/server/server.go

4
internal/server/server.go

@ -50,6 +50,8 @@ func Build(ccs *components.Components) (components.Server, error) {
// Start AFAIRE.
func (cs *server) Start() error {
cs.logger.Info("Starting") //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
err := cs.server.ListenAndServe()
if err == http.ErrServerClosed {
return nil
@ -71,6 +73,8 @@ func (cs *server) Stop() {
"reason", err,
)
}
cs.logger.Info("Stopped") //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
}
/*

Loading…
Cancel
Save