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

Method HandlerName

context/context.go:648–650  ·  view source on GitHub ↗

HandlerName returns the current handler's name, helpful for debugging.

()

Source from the content-addressed store, hash-verified

646
647// HandlerName returns the current handler's name, helpful for debugging.
648func (ctx *Context) HandlerName() string {
649 return HandlerName(ctx.handlers[ctx.currentHandlerIndex])
650}
651
652// HandlerFileLine returns the current running handler's function source file and line information.
653// Useful mostly when debugging.

Callers 3

mainFunction · 0.80
replyFunction · 0.80
PanicRecoveryErrorFunction · 0.80

Calls 1

HandlerNameFunction · 0.85

Tested by

no test coverage detected