MCPcopy Create free account
hub / github.com/kataras/iris / SwitchCase

Struct SwitchCase

apps/switch.go:138–141  ·  view source on GitHub ↗

SwitchCase contains the filter and the matched Application instance.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected