MCPcopy
hub / github.com/tailscale/tailscale / Section

Method Section

tsweb/debug.go:163–165  ·  view source on GitHub ↗

Section invokes f on every render of /debug/ to add supplemental HTML to the page body.

(f func(w io.Writer, r *http.Request))

Source from the content-addressed store, hash-verified

161// Section invokes f on every render of /debug/ to add supplemental
162// HTML to the page body.
163func (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.
168func (d *DebugHandler) Title(title string) {

Callers 2

TestDebuggerSectionFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestDebuggerSectionFunction · 0.64