diff --git a/example/main.go b/example/main.go index c9dcf1f..0d7967b 100644 --- a/example/main.go +++ b/example/main.go @@ -12,9 +12,10 @@ func main() { appIns := hotime.Application{} i := 0 - appIns.SetConnectListener(func(context hotime.Context) bool { + appIns.SetConnectListener(func(context *hotime.Context) bool { fmt.Println(i) i++ + //this.HandlerStr = "/test.html" return true })