mirror of
https://github.com/kataras/iris.git
synced 2026-01-01 09:17:02 +00:00
init of v11.2.0: add context#FullRequestURI and NewConditionalHandler
As requested at: https://github.com/kataras/iris/issues/1167 and https://github.com/kataras/iris/issues/1170 Former-commit-id: 781c92f444b3e362011be886b32cf88f89998589
This commit is contained in:
6
go19.go
6
go19.go
@@ -42,6 +42,12 @@ type (
|
||||
// If Handler panics, the server (the caller of Handler) assumes that the effect of the panic was isolated to the active request.
|
||||
// It recovers the panic, logs a stack trace to the server error log, and hangs up the connection.
|
||||
Handler = context.Handler
|
||||
// Filter is just a type of func(Handler) bool which reports whether an action must be performed
|
||||
// based on the incoming request.
|
||||
//
|
||||
// See `NewConditionalHandler` for more.
|
||||
// An alias for the `context/Filter`.
|
||||
Filter = context.Filter
|
||||
// A Map is a shortcut of the map[string]interface{}.
|
||||
Map = context.Map
|
||||
|
||||
|
||||
Reference in New Issue
Block a user