bc := benchcontroller.CreateController();
go benchcontroller.MainLoop(bc, comout, comin);
- http.Handle("/", http.HandlerFunc(ServerResponder));
+ http.Handle("/", http.FileServer("./web", "/web"));
+ http.Handle("/json", http.HandlerFunc(ServerResponder));
err := http.ListenAndServe(":22222", nil);
if err != nil {
panic("ListenAndServe: ", err.String())