forked from golang/hotime
demo
This commit is contained in:
parent
4a0f8d9b88
commit
043dc226dc
@ -12,9 +12,10 @@ func main() {
|
|||||||
appIns := hotime.Application{}
|
appIns := hotime.Application{}
|
||||||
i := 0
|
i := 0
|
||||||
|
|
||||||
appIns.SetConnectListener(func(context hotime.Context) bool {
|
appIns.SetConnectListener(func(context *hotime.Context) bool {
|
||||||
fmt.Println(i)
|
fmt.Println(i)
|
||||||
i++
|
i++
|
||||||
|
//this.HandlerStr = "/test.html"
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user