Documentation ¶
Overview ¶
Package bugreport is a generated GoMock package.
Package bugreport is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallForeignMethod ¶
func CallForeignMethod(s Source)
func CallResponseWriterMethods ¶
func CallResponseWriterMethods(n Net)
Types ¶
type MockNet ¶
type MockNet struct {
// contains filtered or unexported fields
}
MockNet is a mock of Net interface.
func NewMockNet ¶
func NewMockNet(ctrl *gomock.Controller) *MockNet
NewMockNet creates a new mock instance.
func (*MockNet) EXPECT ¶
func (m *MockNet) EXPECT() *MockNetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNet) WriteHeader ¶
WriteHeader mocks base method.
type MockNetMockRecorder ¶
type MockNetMockRecorder struct {
// contains filtered or unexported fields
}
MockNetMockRecorder is the mock recorder for MockNet.
func (*MockNetMockRecorder) Header ¶
func (mr *MockNetMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockNetMockRecorder) Write ¶
func (mr *MockNetMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write.
func (*MockNetMockRecorder) WriteHeader ¶
func (mr *MockNetMockRecorder) WriteHeader(statusCode interface{}) *gomock.Call
WriteHeader indicates an expected call of WriteHeader.
type MockSource ¶
type MockSource struct {
// contains filtered or unexported fields
}
MockSource is a mock of Source interface.
func NewMockSource ¶
func NewMockSource(ctrl *gomock.Controller) *MockSource
NewMockSource creates a new mock instance.
func (*MockSource) EXPECT ¶
func (m *MockSource) EXPECT() *MockSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSource) OtherErsatz ¶
func (m *MockSource) OtherErsatz() ersatz0.Return
OtherErsatz mocks base method.
type MockSourceMockRecorder ¶
type MockSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockSourceMockRecorder is the mock recorder for MockSource.
func (*MockSourceMockRecorder) Bar ¶
func (mr *MockSourceMockRecorder) Bar() *gomock.Call
Bar indicates an expected call of Bar.
func (*MockSourceMockRecorder) Error ¶
func (mr *MockSourceMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockSourceMockRecorder) Ersatz ¶
func (mr *MockSourceMockRecorder) Ersatz() *gomock.Call
Ersatz indicates an expected call of Ersatz.
func (*MockSourceMockRecorder) OtherErsatz ¶
func (mr *MockSourceMockRecorder) OtherErsatz() *gomock.Call
OtherErsatz indicates an expected call of OtherErsatz.
type Net ¶
type Net interface { http.ResponseWriter }