mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
minor
Former-commit-id: 0bc9c92c519edda9e04be8481e16fd2fdcfc74c0
This commit is contained in:
10
iris.go
10
iris.go
@@ -605,6 +605,16 @@ var (
|
||||
// ErrStopExecution if returned from a hero middleware or a request-scope dependency
|
||||
// stops the handler's execution, see _examples/dependency-injection/basic/middleware.
|
||||
ErrStopExecution = hero.ErrStopExecution
|
||||
// ErrHijackNotSupported is returned by the Hijack method to
|
||||
// indicate that Hijack feature is not available.
|
||||
//
|
||||
// A shortcut for the `context#ErrHijackNotSupported`.
|
||||
ErrHijackNotSupported = context.ErrHijackNotSupported
|
||||
// ErrPushNotSupported is returned by the Push method to
|
||||
// indicate that HTTP/2 Push support is not available.
|
||||
//
|
||||
// A shortcut for the `context#ErrPushNotSupported`.
|
||||
ErrPushNotSupported = context.ErrPushNotSupported
|
||||
)
|
||||
|
||||
// Constants for input argument at `router.RouteRegisterRule`.
|
||||
|
||||
Reference in New Issue
Block a user