MCPcopy
hub / github.com/SurgeDM/Surge / Close

Method Close

internal/testutil/mock_server.go:184–188  ·  view source on GitHub ↗

Close shuts down the mock server.

()

Source from the content-addressed store, hash-verified

182
183// Close shuts down the mock server.
184func (m *MockServer) Close() {
185 if m.Server != nil {
186 m.Server.Close()
187 }
188}
189
190// Reset clears all tracking counters.
191func (m *MockServer) Reset() {

Callers 15

CopyFileFunction · 0.45
ReadURLsFromFileFunction · 0.45
doRequestMethod · 0.45
ListMethod · 0.45
HistoryMethod · 0.45
GetStatusMethod · 0.45
AddMethod · 0.45
AddWithIDMethod · 0.45
PauseMethod · 0.45

Calls

no outgoing calls