Section invokes f on every render of /debug/ to add supplemental HTML to the page body.
(f func(w io.Writer, r *http.Request))
| 161 | // Section invokes f on every render of /debug/ to add supplemental |
| 162 | // HTML to the page body. |
| 163 | func (d *DebugHandler) Section(f func(w io.Writer, r *http.Request)) { |
| 164 | d.sections = append(d.sections, f) |
| 165 | } |
| 166 | |
| 167 | // Title sets the title at the top of the debug page. |
| 168 | func (d *DebugHandler) Title(title string) { |
no outgoing calls