Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeResponseWriter
- func (fake *FakeResponseWriter) Header() http.Header
- func (fake *FakeResponseWriter) HeaderCallCount() int
- func (fake *FakeResponseWriter) HeaderCalls(stub func() http.Header)
- func (fake *FakeResponseWriter) HeaderReturns(result1 http.Header)
- func (fake *FakeResponseWriter) HeaderReturnsOnCall(i int, result1 http.Header)
- func (fake *FakeResponseWriter) Invocations() map[string][][]interface{}
- func (fake *FakeResponseWriter) Write(arg1 []byte) (int, error)
- func (fake *FakeResponseWriter) WriteArgsForCall(i int) []byte
- func (fake *FakeResponseWriter) WriteCallCount() int
- func (fake *FakeResponseWriter) WriteCalls(stub func([]byte) (int, error))
- func (fake *FakeResponseWriter) WriteHeader(arg1 int)
- func (fake *FakeResponseWriter) WriteHeaderArgsForCall(i int) int
- func (fake *FakeResponseWriter) WriteHeaderCallCount() int
- func (fake *FakeResponseWriter) WriteHeaderCalls(stub func(int))
- func (fake *FakeResponseWriter) WriteReturns(result1 int, result2 error)
- func (fake *FakeResponseWriter) WriteReturnsOnCall(i int, result1 int, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeResponseWriter ¶
type FakeResponseWriter struct { HeaderStub func() http.Header WriteStub func([]byte) (int, error) WriteHeaderStub func(int) // contains filtered or unexported fields }
func (*FakeResponseWriter) Header ¶
func (fake *FakeResponseWriter) Header() http.Header
func (*FakeResponseWriter) HeaderCallCount ¶
func (fake *FakeResponseWriter) HeaderCallCount() int
func (*FakeResponseWriter) HeaderCalls ¶
func (fake *FakeResponseWriter) HeaderCalls(stub func() http.Header)
func (*FakeResponseWriter) HeaderReturns ¶
func (fake *FakeResponseWriter) HeaderReturns(result1 http.Header)
func (*FakeResponseWriter) HeaderReturnsOnCall ¶
func (fake *FakeResponseWriter) HeaderReturnsOnCall(i int, result1 http.Header)
func (*FakeResponseWriter) Invocations ¶
func (fake *FakeResponseWriter) Invocations() map[string][][]interface{}
func (*FakeResponseWriter) WriteArgsForCall ¶
func (fake *FakeResponseWriter) WriteArgsForCall(i int) []byte
func (*FakeResponseWriter) WriteCallCount ¶
func (fake *FakeResponseWriter) WriteCallCount() int
func (*FakeResponseWriter) WriteCalls ¶
func (fake *FakeResponseWriter) WriteCalls(stub func([]byte) (int, error))
func (*FakeResponseWriter) WriteHeader ¶
func (fake *FakeResponseWriter) WriteHeader(arg1 int)
func (*FakeResponseWriter) WriteHeaderArgsForCall ¶
func (fake *FakeResponseWriter) WriteHeaderArgsForCall(i int) int
func (*FakeResponseWriter) WriteHeaderCallCount ¶
func (fake *FakeResponseWriter) WriteHeaderCallCount() int
func (*FakeResponseWriter) WriteHeaderCalls ¶
func (fake *FakeResponseWriter) WriteHeaderCalls(stub func(int))
func (*FakeResponseWriter) WriteReturns ¶
func (fake *FakeResponseWriter) WriteReturns(result1 int, result2 error)
func (*FakeResponseWriter) WriteReturnsOnCall ¶
func (fake *FakeResponseWriter) WriteReturnsOnCall(i int, result1 int, result2 error)
Click to show internal directories.
Click to hide internal directories.