mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
Add fallback handlers
Former-commit-id: f7e9bd17076a10e1ed1702780d7ce9e89f00b592
This commit is contained in:
@@ -48,4 +48,7 @@ type Application interface {
|
||||
// If a handler is not already registered,
|
||||
// then it creates & registers a new trivial handler on the-fly.
|
||||
FireErrorCode(ctx Context)
|
||||
|
||||
// RouteExists checks if a route exists
|
||||
RouteExists(method string, path string, ctx Context) bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user