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

Function IgnoreHandlerName

context/handler.go:270–278  ·  view source on GitHub ↗

IgnoreHandlerName compares a static slice of Iris builtin internal methods that should be ignored from trace. Some internal methods are kept out of this list for actual debugging.

(name string)

Source from the content-addressed store, hash-verified

268// internal methods that should be ignored from trace.
269// Some internal methods are kept out of this list for actual debugging.
270func IgnoreHandlerName(name string) bool {
271 for _, ignore := range ignoreHandlerNames {
272 if name == ignore {
273 return true
274 }
275 }
276
277 return false
278}
279
280// ingoreMainHandlerName reports whether a main handler of "name" should
281// be ignored and continue to match the next.

Callers 2

traceHandlerFileFunction · 0.92
ingoreMainHandlerNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…