mock_httpclient

package
v0.0.0-...-ed74313 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_httpclient 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(request *http.Request) (*http.Response, error)

Do mocks base method

func (*MockHttpClient) EXPECT

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

type MockHttpClientMockRecorder

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

MockHttpClientMockRecorder is the mock recorder for MockHttpClient

func (*MockHttpClientMockRecorder) Do

func (mr *MockHttpClientMockRecorder) Do(request 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