diff --git a/cmd/test/main.go b/cmd/test/main.go index f61b0ba..88c8b50 100644 --- a/cmd/test/main.go +++ b/cmd/test/main.go @@ -7,12 +7,13 @@ import ( func main() { - srv, err := gfw.Init("manifest.json", nil) + srv, err := aicra.Init("manifest.json") 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) if err != nil { log.Fatalf("*** server failed (%s)\n", err)