Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ GetStatusCode
Method
GetStatusCode
agent/proto/agent.pb.go:3061–3066 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3059
}
3060
3061
func
(x *Connection) GetStatusCode() int32 {
3062
if
x != nil {
3063
return
x.StatusCode
3064
}
3065
return
0
3066
}
3067
3068
func
(x *Connection) GetReason() string {
3069
if
x != nil && x.Reason != nil {
Callers
2
ReportConnection
Method · 0.80
assertConnectionReport
Function · 0.80
Calls
no outgoing calls
Tested by
1
assertConnectionReport
Function · 0.64