From b488f8969ec7ed205d40088abb7471ac2807aa3f Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 7 Jul 2018 18:13:08 +0200 Subject: [PATCH] main update --- cmd/test/main.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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)