mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
Save
Former-commit-id: 592e9cddf3511fc08e87f19ad39fdaac479b453f
This commit is contained in:
@@ -176,6 +176,13 @@ func (app *Application) Handle(controller interface{}) *Application {
|
||||
return app
|
||||
}
|
||||
|
||||
// Fallback is an alias to `app.Router.Fallback(handlers...)`
|
||||
//
|
||||
// See `core/router#Party.Fallback`
|
||||
func (app *Application) Fallback(handlers ...context.Handler) {
|
||||
app.Router.Fallback(handlers...)
|
||||
}
|
||||
|
||||
// Clone returns a new mvc Application which has the dependencies
|
||||
// of the current mvc Mpplication's dependencies.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user