Documentation ¶
Overview ¶
Package bugreport is a generated GoMock package.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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) 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 }