Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Clone
Method
Clone
vpn/tunnel.go:351–356 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
349
}
350
351
func
(a *agentWithPing) Clone() *agentWithPing {
352
return
&agentWithPing{
353
Agent: a.Agent.Clone(),
354
lastPing: a.lastPing,
355
}
356
}
357
358
type
lastPing
struct
{
359
pingDur time.Duration
Callers
15
GetListeningPorts
Method · 0.45
setPorts
Method · 0.45
TestWorkspaceAgent_UpdatedDERP
Function · 0.45
TestUserOIDC
Function · 0.45
TestPostFiles
Function · 0.45
init
Function · 0.45
NewServerTailnet
Function · 0.45
ExtractOAuth2
Function · 0.45
NewWebhookHandler
Function · 0.45
LastMessage
Method · 0.45
subscriptionsForUser
Method · 0.45
cachedSubscriptions
Method · 0.45
Calls
no outgoing calls
Tested by
15
GetListeningPorts
Method · 0.36
setPorts
Method · 0.36
TestWorkspaceAgent_UpdatedDERP
Function · 0.36
TestUserOIDC
Function · 0.36
TestPostFiles
Function · 0.36
TestPermissionsEqual
Function · 0.36
requestsSnapshot
Method · 0.36
RoundTrip
Method · 0.36
TestModelFromConfig_HTTPClient
Function · 0.36
newHeaderRecordingServer
Function · 0.36
ServeHTTP
Method · 0.36
TestServeHTTP_ActorHeaders
Function · 0.36