Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/SurgeDM/Surge
/ URL
Method
URL
internal/testutil/mock_server.go:179–181 ·
view source on GitHub ↗
URL returns the server's URL.
()
Source
from the content-addressed store, hash-verified
177
178
// URL returns the server's URL.
179
func
(m *MockServer) URL() string {
180
return
m.Server.URL
181
}
182
183
// Close shuts down the mock server.
184
func
(m *MockServer) Close() {
Callers
15
BenchmarkSingleDownloader
Function · 0.95
TestIntegration_PauseResume_HotPath_Aggregates
Function · 0.80
TestIntegration_PauseResume_ColdPath_StateContinuity
Function · 0.80
TestIntegration_PauseResume_StatusFormulaInvariants
Function · 0.80
TestIntegration_PauseResume_ConcreteSnapshotDebugString
Function · 0.80
TestIntegration_PauseResumeBatch_ColdPath
Function · 0.80
TestLocalDownloadService_Delete_ActiveWithoutDB_RemovesPartialFile
Function · 0.80
TestLocalDownloadService_Shutdown_PersistsPausedState
Function · 0.80
TestLocalDownloadService_ResumeRejectedWhilePausing
Function · 0.80
TestMirrors_HappyPath
Function · 0.80
TestMirrors_Failover
Function · 0.80
TestConcurrentDownloader_SwitchOn429
Function · 0.80
Calls
no outgoing calls
Tested by
15
BenchmarkSingleDownloader
Function · 0.76
TestIntegration_PauseResume_HotPath_Aggregates
Function · 0.64
TestIntegration_PauseResume_ColdPath_StateContinuity
Function · 0.64
TestIntegration_PauseResume_StatusFormulaInvariants
Function · 0.64
TestIntegration_PauseResume_ConcreteSnapshotDebugString
Function · 0.64
TestIntegration_PauseResumeBatch_ColdPath
Function · 0.64
TestLocalDownloadService_Delete_ActiveWithoutDB_RemovesPartialFile
Function · 0.64
TestLocalDownloadService_Shutdown_PersistsPausedState
Function · 0.64
TestLocalDownloadService_ResumeRejectedWhilePausing
Function · 0.64
TestMirrors_HappyPath
Function · 0.64
TestMirrors_Failover
Function · 0.64
TestConcurrentDownloader_SwitchOn429
Function · 0.64