HandleSilent registers handler at /debug/ . It does not add a descriptive entry in /debug/ for it. This should be used sparingly, for things that need to be registered but would pollute the list of debug links.
(slug string, handler http.HandlerFunc)
| 130 | // sparingly, for things that need to be registered but would pollute |
| 131 | // the list of debug links. |
| 132 | func (d *DebugHandler) HandleSilentFunc(slug string, handler http.HandlerFunc) { |
| 133 | d.HandleSilent(slug, handler) |
| 134 | } |
| 135 | |
| 136 | // KV adds a key/value list item to /debug/. |
| 137 | func (d *DebugHandler) KV(k string, v any) { |
nothing calls this directly
no test coverage detected