2018-06-10 20:49:32 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2018-07-05 17:19:39 +00:00
|
|
|
"git.xdrm.io/go/aicra"
|
2018-06-10 20:49:32 +00:00
|
|
|
"log"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
|
|
|
|
srv, err := gfw.Init("manifest.json", nil)
|
|
|
|
if err != nil {
|
|
|
|
log.Fatal(err)
|
|
|
|
}
|
|
|
|
|
|
|
|
log.Printf("Server up and running\n")
|
|
|
|
err = srv.Launch(4444)
|
|
|
|
if err != nil {
|
|
|
|
log.Fatalf("*** server failed (%s)\n", err)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|