mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
add Pool and Handlers method helpers on the new ContextWrapper
This commit is contained in:
@@ -53,9 +53,9 @@ func (f *Func) buildMeta() {
|
||||
case Handler:
|
||||
f.Meta = &FuncMeta{Handler: fn}
|
||||
return
|
||||
case func(*Context):
|
||||
f.Meta = &FuncMeta{Handler: fn}
|
||||
return
|
||||
// case func(*Context):
|
||||
// f.Meta = &FuncMeta{Handler: fn}
|
||||
// return
|
||||
case func(*Context) error:
|
||||
f.Meta = &FuncMeta{HandlerWithErr: fn}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user