mirror of
https://github.com/cubixle/tuu.git
synced 2026-04-24 23:04:43 +01:00
SAVEPOINT
This commit is contained in:
7
tuu.go
7
tuu.go
@@ -58,5 +58,10 @@ func (a *App) Serve(cfg Config) error {
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
// start the web server
|
// start the web server
|
||||||
return server.ListenAndServe()
|
if err := server.ListenAndServe(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
log.Printf("http server running @ %s:%s", cfg.IPAddr, cfg.Port)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user