forked from golang/hotime
This commit is contained in:
parent
5955387788
commit
f97dd2752b
1
app.go
1
app.go
@ -209,6 +209,7 @@ func (this *App) handler(w http.ResponseWriter, req *http.Request) {
|
||||
//访问拦截
|
||||
if this.connectListener != nil {
|
||||
if !this.connectListener(context) {
|
||||
context.View()
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user