main update
This commit is contained in:
parent
3e3e4f796a
commit
b488f8969e
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue