package main import ( . "code.hoteas.com/golang/hotime" . "code.hoteas.com/golang/hotime/common" ) func main() { appIns := Init("config/config.json") appIns.SetConnectListener(func(that *Context) (isFinished bool) { return isFinished }) appIns.Run(Router{ "app": { "test": { "hello": func(that *Context) { that.Display(0, Map{"message": "Hello World"}) }, }, }, }) }