MCPcopy Index your code
hub / github.com/tailscale/tailscale / HandleSilentFunc

Method HandleSilentFunc

tsweb/debug.go:132–134  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

130// sparingly, for things that need to be registered but would pollute
131// the list of debug links.
132func (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/.
137func (d *DebugHandler) KV(k string, v any) {

Callers

nothing calls this directly

Calls 1

HandleSilentMethod · 0.95

Tested by

no test coverage detected