Versions in this module Expand all Collapse all v0 v0.14.0 Oct 19, 2026 v0.13.0 Oct 9, 2026 Changes in this version + type FakeHandler struct + ServeHTTPStub func(http.ResponseWriter, *http.Request) + func (fake *FakeHandler) CallOrder() []string + func (fake *FakeHandler) Invocations() map[string][][]interface{} + func (fake *FakeHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request) + func (fake *FakeHandler) ServeHTTPArgs() []FakeHandlerServeHTTPArgs + func (fake *FakeHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request) + func (fake *FakeHandler) ServeHTTPCallCount() int + func (fake *FakeHandler) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request)) + type FakeHandlerServeHTTPArgs struct + Arg1 http.ResponseWriter + Arg2 *http.Request + type FakeWrapResponseWriter struct + BytesWrittenStub func() int + HeaderStub func() http.Header + StatusStub func() int + TeeStub func(io.Writer) + UnwrapStub func() http.ResponseWriter + WriteHeaderStub func(int) + WriteStub func([]byte) (int, error) + func (fake *FakeWrapResponseWriter) BytesWritten() int + func (fake *FakeWrapResponseWriter) BytesWrittenCallCount() int + func (fake *FakeWrapResponseWriter) BytesWrittenCalls(stub func() int) + func (fake *FakeWrapResponseWriter) BytesWrittenReturns(result1 int) + func (fake *FakeWrapResponseWriter) BytesWrittenReturnsOnCall(i int, result1 int) + func (fake *FakeWrapResponseWriter) CallOrder() []string + func (fake *FakeWrapResponseWriter) Header() http.Header + func (fake *FakeWrapResponseWriter) HeaderCallCount() int + func (fake *FakeWrapResponseWriter) HeaderCalls(stub func() http.Header) + func (fake *FakeWrapResponseWriter) HeaderReturns(result1 http.Header) + func (fake *FakeWrapResponseWriter) HeaderReturnsOnCall(i int, result1 http.Header) + func (fake *FakeWrapResponseWriter) Invocations() map[string][][]interface{} + func (fake *FakeWrapResponseWriter) Status() int + func (fake *FakeWrapResponseWriter) StatusCallCount() int + func (fake *FakeWrapResponseWriter) StatusCalls(stub func() int) + func (fake *FakeWrapResponseWriter) StatusReturns(result1 int) + func (fake *FakeWrapResponseWriter) StatusReturnsOnCall(i int, result1 int) + func (fake *FakeWrapResponseWriter) Tee(arg1 io.Writer) + func (fake *FakeWrapResponseWriter) TeeArgs() []FakeWrapResponseWriterTeeArgs + func (fake *FakeWrapResponseWriter) TeeArgsForCall(i int) io.Writer + func (fake *FakeWrapResponseWriter) TeeCallCount() int + func (fake *FakeWrapResponseWriter) TeeCalls(stub func(io.Writer)) + func (fake *FakeWrapResponseWriter) Unwrap() http.ResponseWriter + func (fake *FakeWrapResponseWriter) UnwrapCallCount() int + func (fake *FakeWrapResponseWriter) UnwrapCalls(stub func() http.ResponseWriter) + func (fake *FakeWrapResponseWriter) UnwrapReturns(result1 http.ResponseWriter) + func (fake *FakeWrapResponseWriter) UnwrapReturnsOnCall(i int, result1 http.ResponseWriter) + func (fake *FakeWrapResponseWriter) Write(arg1 []byte) (int, error) + func (fake *FakeWrapResponseWriter) WriteArgs() []FakeWrapResponseWriterWriteArgs + func (fake *FakeWrapResponseWriter) WriteArgsForCall(i int) []byte + func (fake *FakeWrapResponseWriter) WriteCallCount() int + func (fake *FakeWrapResponseWriter) WriteCalls(stub func([]byte) (int, error)) + func (fake *FakeWrapResponseWriter) WriteHeader(arg1 int) + func (fake *FakeWrapResponseWriter) WriteHeaderArgs() []FakeWrapResponseWriterWriteHeaderArgs + func (fake *FakeWrapResponseWriter) WriteHeaderArgsForCall(i int) int + func (fake *FakeWrapResponseWriter) WriteHeaderCallCount() int + func (fake *FakeWrapResponseWriter) WriteHeaderCalls(stub func(int)) + func (fake *FakeWrapResponseWriter) WriteReturns(result1 int, result2 error) + func (fake *FakeWrapResponseWriter) WriteReturnsOnCall(i int, result1 int, result2 error) + type FakeWrapResponseWriterTeeArgs struct + Arg1 io.Writer + type FakeWrapResponseWriterWriteArgs struct + Arg1 []byte + type FakeWrapResponseWriterWriteHeaderArgs struct + Arg1 int