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

Struct instrumentedConn

coderd/tailnet.go:361–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361type instrumentedConn struct {
362 net.Conn
363
364 agentID uuid.UUID
365 closeOnce sync.Once
366 connsPerAgent *prometheus.GaugeVec
367}
368
369func (c *instrumentedConn) Close() error {
370 c.closeOnce.Do(func() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected