Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ GetConnection
Method
GetConnection
agent/proto/agent.pb.go:3115–3120 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3113
}
3114
3115
func
(x *ReportConnectionRequest) GetConnection() *Connection {
3116
if
x != nil {
3117
return
x.Connection
3118
}
3119
return
nil
3120
}
3121
3122
type
SubAgent
struct
{
3123
state protoimpl.MessageState
Callers
3
ReportConnection
Method · 0.80
assertConnectionReport
Function · 0.80
TestReportConnectionEmpty
Function · 0.80
Calls
no outgoing calls
Tested by
2
assertConnectionReport
Function · 0.64
TestReportConnectionEmpty
Function · 0.64