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

Method activate

mvc/controller.go:390–397  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

388}
389
390func (c *ControllerActivator) activate() {
391 if c.Activated() {
392 return
393 }
394
395 c.parseMethods()
396 c.parseHTTPErrorHandler()
397}
398
399func (c *ControllerActivator) parseHTTPErrorHandler() {
400 if m, ok := c.Type.MethodByName(handleHTTPErrorMethodName); ok {

Callers 1

handleMethod · 0.80

Calls 3

ActivatedMethod · 0.95
parseMethodsMethod · 0.95
parseHTTPErrorHandlerMethod · 0.95

Tested by

no test coverage detected