|
|
|
@ -45,8 +45,8 @@ func Build(ccs *components.Components) (components.Server, error) {
|
|
|
|
|
return cs, nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Start AFAIRE.
|
|
|
|
|
func (cs *server) Start() error { |
|
|
|
|
// Run AFAIRE.
|
|
|
|
|
func (cs *server) Run() error { |
|
|
|
|
cs.logger.Info("Started") //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
|
|
|
|
|
|
|
|
err := cs.server.ListenAndServe() |
|
|
|
|