Handle registers handler at /debug/ and adds a link to it on /debug/ with the provided description.
(slug, desc string, handler http.Handler)
| 107 | // Handle registers handler at /debug/<slug> and adds a link to it |
| 108 | // on /debug/ with the provided description. |
| 109 | func (d *DebugHandler) Handle(slug, desc string, handler http.Handler) { |
| 110 | href := d.handle(slug, handler) |
| 111 | d.URL(href, desc) |
| 112 | } |
| 113 | |
| 114 | // Handle registers handler at /debug/<slug> and adds a link to it |
| 115 | // on /debug/ with the provided description. |
no test coverage detected