package main import ( "git.xdrm.io/go/aicra" "git.xdrm.io/go/aicra/driver" "log" "net/http" ) func main() { listen_addr := "127.0.0.1:4242" server, err := aicra.New("manifest.json", new(driver.Plugin)) if err != nil { panic(err) } log.Printf("[Server up] %s\n", listen_addr) err = http.ListenAndServe(listen_addr, server) if err != nil { panic(err) } }