Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/henrygd/beszel
/ Close
Method
Close
internal/hub/transport/transport.go:26–26 ·
view source on GitHub ↗
Close terminates the transport connection.
()
Source
from the content-addressed store, hash-verified
24
IsConnected() bool
25
// Close terminates the transport connection.
26
Close()
27
}
28
29
// UnmarshalResponse unmarshals an AgentResponse into the destination type.
Callers
15
TestAgentWebSocketIntegration
Function · 0.65
TestMultipleSystemsWithSameUniversalToken
Function · 0.65
TestPermanentUniversalTokenFromDB
Function · 0.65
RoundTrip
Method · 0.65
verifyWsConn
Method · 0.65
fetchDataViaSSH
Method · 0.65
runSSHOperation
Method · 0.65
closeSSHConnection
Method · 0.65
closeWebSocketConnection
Method · 0.65
Request
Method · 0.65
Close
Method · 0.65
Request
Method · 0.65
Implementers
2
SSHTransport
internal/hub/transport/ssh.go
WebSocketTransport
internal/hub/transport/websocket.go
Calls
no outgoing calls
Tested by
15
TestAgentWebSocketIntegration
Function · 0.52
TestMultipleSystemsWithSameUniversalToken
Function · 0.52
TestPermanentUniversalTokenFromDB
Function · 0.52
TestSendGETDoesNotRequireAppOrDB
Function · 0.52
TestSendReturnsErrorOnHTTPFailureStatus
Function · 0.52
TestSendPOSTBuildsExpectedStatuses
Function · 0.52
TestWsConn_Close
Function · 0.52
TestStartServer
Function · 0.52
createTempFile
Function · 0.52
TestWebSocketClient_Close
Function · 0.52
TestGetToken
Function · 0.52
createTestServerOptions
Function · 0.52