MCPcopy Index your code
hub / github.com/coder/coder / getHTMLDebug

Method getHTMLDebug

tailnet/coordinator.go:544–552  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

542}
543
544func (c *core) getHTMLDebug() HTMLDebug {
545 c.mutex.RLock()
546 defer c.mutex.RUnlock()
547 debug := HTMLDebug{Tunnels: c.tunnels.htmlDebug()}
548 for _, p := range c.peers {
549 debug.Peers = append(debug.Peers, p.htmlDebug())
550 }
551 return debug
552}
553
554type HTMLDebug struct {
555 Peers []HTMLPeer

Callers 1

serveHTTPDebugMethod · 0.95

Calls 1

htmlDebugMethod · 0.45

Tested by

no test coverage detected