SwitchCase contains the filter and the matched Application instance.
| 136 | // SwitchCase contains the filter |
| 137 | // and the matched Application instance. |
| 138 | SwitchCase struct { |
| 139 | Filter iris.Filter // Filter runs against the Switcher. |
| 140 | App *iris.Application // App is the main target application responsible to handle the request. |
| 141 | } |
| 142 | |
| 143 | // A SwitchProvider should return the switch cases. |
| 144 | // It's an interface instead of a direct slice because |
nothing calls this directly
no outgoing calls
no test coverage detected