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

Method HandleSilent

tsweb/debug.go:124–126  ·  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.Handler)

Source from the content-addressed store, hash-verified

122// sparingly, for things that need to be registered but would pollute
123// the list of debug links.
124func (d *DebugHandler) HandleSilent(slug string, handler http.Handler) {
125 d.handle(slug, handler)
126}
127
128// HandleSilent registers handler at /debug/<slug>. It does not add
129// a descriptive entry in /debug/ for it. This should be used

Callers 3

HandleSilentFuncMethod · 0.95
addProfilingHandlersFunction · 0.80
RegisterHTTPMethod · 0.80

Calls 1

handleMethod · 0.95

Tested by

no test coverage detected