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

Struct agentConn

codersdk/workspacesdk/agentconn.go:141–146  ·  view source on GitHub ↗

AgentConn represents a connection to a workspace agent. @typescript-ignore AgentConn

Source from the content-addressed store, hash-verified

139// AgentConn represents a connection to a workspace agent.
140// @typescript-ignore AgentConn
141type agentConn struct {
142 *tailnet.Conn
143 opts AgentConnOptions
144 headersMu sync.RWMutex
145 extraHeaders http.Header
146}
147
148func (c *agentConn) TailnetConn() *tailnet.Conn {
149 return c.Conn

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected