Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/coder
/ Close
Method
Close
vpn/client.go:35–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
Node() *tailnet.Node
34
DERPMap() *tailcfg.DERPMap
35
Close() error
36
}
37
38
type
vpnConn
struct
{
Callers
15
TestDERP
Function · 0.95
TestClient_WorkspaceUpdates
Function · 0.95
NewConn
Method · 0.95
TestAgentConnAppHTTPClientRefusesRedirects
Function · 0.95
newTailnetConn
Function · 0.95
DialAgent
Method · 0.95
TestAgent_UpdatedDERP
Function · 0.95
setupAgentWithSecrets
Function · 0.95
createTailnet
Method · 0.95
TestSpeaker_RawPeer
Function · 0.65
TestSpeaker_HandshakeRWFailure
Function · 0.65
TestSpeaker_HandshakeCtxDone
Function · 0.65
Implementers
1
fakeConn
vpn/tunnel_internal_test.go
Calls
no outgoing calls
Tested by
15
TestDERP
Function · 0.76
TestClient_WorkspaceUpdates
Function · 0.76
TestAgentConnAppHTTPClientRefusesRedirects
Function · 0.76
newTailnetConn
Function · 0.76
TestAgent_UpdatedDERP
Function · 0.76
setupAgentWithSecrets
Function · 0.76
TestSpeaker_RawPeer
Function · 0.52
TestSpeaker_HandshakeRWFailure
Function · 0.52
TestSpeaker_HandshakeCtxDone
Function · 0.52
TestSpeaker_OversizeHandshake
Function · 0.52
TestSpeaker_HandshakeInvalid
Function · 0.52
TestSpeaker_CorruptMessage
Function · 0.52