mirror of
https://github.com/rls-moe/nyx
synced 2024-11-22 22:12:24 +00:00
inform user of port listening on
This commit is contained in:
parent
35b2c4dd02
commit
a3f8fe4db0
2
main.go
2
main.go
@ -17,7 +17,7 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println("Starting Server")
|
log.Printf("Starting Server at %s\n", c.ListenOn)
|
||||||
if err := http.Start(c); err != nil {
|
if err := http.Start(c); err != nil {
|
||||||
log.Printf("Could not start server or server crashed: %s\n", err)
|
log.Printf("Could not start server or server crashed: %s\n", err)
|
||||||
log.Printf("Waiting 10 seconds before dying...")
|
log.Printf("Waiting 10 seconds before dying...")
|
||||||
|
Loading…
Reference in New Issue
Block a user