mock

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHttpClient

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

MockHttpClient is a mock of HttpClient interface.

func NewMockHttpClient

func NewMockHttpClient(ctrl *gomock.Controller) *MockHttpClient

NewMockHttpClient creates a new mock instance.

func (*MockHttpClient) Do

func (m *MockHttpClient) Do(arg0 *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockHttpClient) EXPECT

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

func (*MockHttpClient) Get

func (m *MockHttpClient) Get(arg0 string) (*http.Response, error)

Get mocks base method.

type MockHttpClientMockRecorder

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

MockHttpClientMockRecorder is the mock recorder for MockHttpClient.

func (*MockHttpClientMockRecorder) Do

func (mr *MockHttpClientMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do.

func (*MockHttpClientMockRecorder) Get

func (mr *MockHttpClientMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

Jump to

Keyboard shortcuts

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