MCPcopy 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
351func (a *agentWithPing) Clone() *agentWithPing {
352 return &agentWithPing{
353 Agent: a.Agent.Clone(),
354 lastPing: a.lastPing,
355 }
356}
357
358type lastPing struct {
359 pingDur time.Duration

Callers 15

GetListeningPortsMethod · 0.45
setPortsMethod · 0.45
TestUserOIDCFunction · 0.45
TestPostFilesFunction · 0.45
initFunction · 0.45
NewServerTailnetFunction · 0.45
ExtractOAuth2Function · 0.45
NewWebhookHandlerFunction · 0.45
LastMessageMethod · 0.45
subscriptionsForUserMethod · 0.45
cachedSubscriptionsMethod · 0.45

Calls

no outgoing calls

Tested by 15

GetListeningPortsMethod · 0.36
setPortsMethod · 0.36
TestUserOIDCFunction · 0.36
TestPostFilesFunction · 0.36
TestPermissionsEqualFunction · 0.36
requestsSnapshotMethod · 0.36
RoundTripMethod · 0.36
newHeaderRecordingServerFunction · 0.36
ServeHTTPMethod · 0.36