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

Method HiStatic

mvc/controller_handle_test.go:78–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78func (c *testControllerHandle) HiStatic() string {
79 if c.Ctx.GetCurrentRoute().Name() != "hi_static_route" {
80 return "HiStatic's route's name didn't change on AfterActivation"
81 }
82
83 return c.reqField
84}
85
86func (c *testControllerHandle) HiService() string {
87 return c.Service.Say("hi")

Callers

nothing calls this directly

Calls 2

GetCurrentRouteMethod · 0.80
NameMethod · 0.65

Tested by

no test coverage detected