MCPcopy Create free account
hub / github.com/ContentSquare/chproxy / mockStatRW

Function mockStatRW

proxyretry_test.go:253–260  ·  view source on GitHub ↗
(s *scope)

Source from the content-addressed store, hash-verified

251}
252
253func mockStatRW(s *scope) *mockStatResponseWriter {
254
255 return &mockStatResponseWriter{
256 ResponseWriter: httptest.NewRecorder(),
257 CloseNotifier: &testCloseNotifier{},
258 statusCode: 0,
259 }
260}
261
262func (srw *mockStatResponseWriter) StatusCode() int {
263 return srw.statusCode

Callers 3

TestQueryWithRetryFailFunction · 0.85
TestQuerySuccessOnceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected