MCPcopy Create free account
hub / github.com/cronitorio/cronitor-cli / Reset

Method Reset

internal/testutil/mock_api.go:128–132  ·  view source on GitHub ↗

Reset clears all recorded requests.

()

Source from the content-addressed store, hash-verified

126
127// Reset clears all recorded requests.
128func (m *MockAPI) Reset() {
129 m.mu.Lock()
130 defer m.mu.Unlock()
131 m.Requests = nil
132}
133
134// Close shuts down the mock server.
135func (m *MockAPI) Close() {

Calls

no outgoing calls