main update

This commit is contained in:
Adrien Marquès 2018-07-07 18:13:08 +02:00
parent 3e3e4f796a
commit b488f8969e
1 changed files with 4 additions and 3 deletions

View File

@ -7,12 +7,13 @@ import (
func main() { func main() {
srv, err := gfw.Init("manifest.json", nil) srv, err := aicra.Init("manifest.json")
if err != nil { if err != nil {
log.Fatal(err) log.Fatal("cannot load config", err)
} }
log.Printf("Server up and running\n") log.Printf("[Server up] 0.0.0.0:4242\n")
err = srv.Launch(4242) err = srv.Launch(4242)
if err != nil { if err != nil {
log.Fatalf("*** server failed (%s)\n", err) log.Fatalf("*** server failed (%s)\n", err)