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

Method htmlDebug

tailnet/peer.go:147–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147func (p *peer) htmlDebug() HTMLPeer {
148 node := "<nil>"
149 if p.node != nil {
150 node = p.node.String()
151 }
152 return HTMLPeer{
153 ID: p.id,
154 Name: p.name,
155 CreatedAge: time.Since(p.start),
156 LastWriteAge: time.Since(p.lastWrite),
157 Overwrites: p.overwrites,
158 Node: node,
159 }
160}

Callers 1

getHTMLDebugMethod · 0.45

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected