mock

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIHttpClient

type MockIHttpClient struct {
	// contains filtered or unexported fields
}

MockIHttpClient is a mock of IHttpClient interface

func NewMockIHttpClient

func NewMockIHttpClient(ctrl *gomock.Controller) *MockIHttpClient

NewMockIHttpClient creates a new mock instance

func (*MockIHttpClient) Do

func (m *MockIHttpClient) Do(req *http.Request) (*http.Response, error)

Do mocks base method

func (*MockIHttpClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockIHttpClientMockRecorder

type MockIHttpClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockIHttpClientMockRecorder is the mock recorder for MockIHttpClient

func (*MockIHttpClientMockRecorder) Do

func (mr *MockIHttpClientMockRecorder) Do(req interface{}) *gomock.Call

Do indicates an expected call of Do

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL