Documentation ¶
Overview ¶
Package mock_http is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockResponseWriter ¶
type MockResponseWriter struct {
// contains filtered or unexported fields
}
MockResponseWriter is a mock of ResponseWriter interface
func NewMockResponseWriter ¶
func NewMockResponseWriter(ctrl *gomock.Controller) *MockResponseWriter
NewMockResponseWriter creates a new mock instance
func (*MockResponseWriter) EXPECT ¶
func (m *MockResponseWriter) EXPECT() *MockResponseWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResponseWriter) Header ¶
func (m *MockResponseWriter) Header() http.Header
Header mocks base method
func (*MockResponseWriter) Write ¶
func (m *MockResponseWriter) Write(arg0 []byte) (int, error)
Write mocks base method
func (*MockResponseWriter) WriteHeader ¶
func (m *MockResponseWriter) WriteHeader(arg0 int)
WriteHeader mocks base method
type MockResponseWriterMockRecorder ¶ added in v1.17.3
type MockResponseWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockResponseWriterMockRecorder is the mock recorder for MockResponseWriter
func (*MockResponseWriterMockRecorder) Header ¶ added in v1.17.3
func (mr *MockResponseWriterMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockResponseWriterMockRecorder) Write ¶ added in v1.17.3
func (mr *MockResponseWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
func (*MockResponseWriterMockRecorder) WriteHeader ¶ added in v1.17.3
func (mr *MockResponseWriterMockRecorder) WriteHeader(arg0 interface{}) *gomock.Call
WriteHeader indicates an expected call of WriteHeader
Click to show internal directories.
Click to hide internal directories.