Versions in this module Expand all Collapse all v1 v1.6.1 Aug 26, 2020 v1.6.0 Aug 25, 2020 Changes in this version + func CallForeignMethod(s Source) + func CallResponseWriterMethods(n Net) + type MockNet struct + func NewMockNet(ctrl *gomock.Controller) *MockNet + func (m *MockNet) EXPECT() *MockNetMockRecorder + func (m *MockNet) Header() http.Header + func (m *MockNet) Write(arg0 []byte) (int, error) + func (m *MockNet) WriteHeader(statusCode int) + type MockNetMockRecorder struct + func (mr *MockNetMockRecorder) Header() *gomock.Call + func (mr *MockNetMockRecorder) Write(arg0 interface{}) *gomock.Call + func (mr *MockNetMockRecorder) WriteHeader(statusCode interface{}) *gomock.Call + type MockSource struct + func NewMockSource(ctrl *gomock.Controller) *MockSource + func (m *MockSource) EXPECT() *MockSourceMockRecorder + func (m *MockSource) Error() string + func (m *MockSource) Ersatz() ersatz.Return + func (m *MockSource) OtherErsatz() ersatz0.Return + type MockSourceMockRecorder struct + func (mr *MockSourceMockRecorder) Error() *gomock.Call + func (mr *MockSourceMockRecorder) Ersatz() *gomock.Call + func (mr *MockSourceMockRecorder) OtherErsatz() *gomock.Call + type Net interface + type Source interface