package mockhttpclient
Import Path
go.pact.im/x/httpclient/mockhttpclient (on go.dev)
Dependency Relation
imports 3 packages, and imported by 0 packages
Involved Source Files
Package mockhttpclient provides httpclient.Client implementation that uses
GoMock mocking framework.
gen.go
mockhttpclient.go
Package-Level Type Names (total 2, both are exported)
MockClient is a mock of Client interface.
ctrl *gomock.Controller
isgomock struct{}
recorder *MockClientMockRecorder
Do mocks base method.
EXPECT returns an object that allows the caller to indicate expected use.
*MockClient : go.pact.im/x/httpclient.Client
func NewMockClient(ctrl *gomock.Controller) *MockClient
MockClientMockRecorder is the mock recorder for MockClient.
mock *MockClient
Do indicates an expected call of Do.
func (*MockClient).EXPECT() *MockClientMockRecorder
Package-Level Functions (only one, which is exported)
NewMockClient creates a new mock instance.
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)