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)
| 268 | // internal methods that should be ignored from trace. |
| 269 | // Some internal methods are kept out of this list for actual debugging. |
| 270 | func 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. |
no outgoing calls
no test coverage detected
searching dependent graphs…