mock

package
v0.30.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 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 MockHTTPDoer

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

MockHTTPDoer is a mock of HTTPDoer interface.

func NewMockHTTPDoer

func NewMockHTTPDoer(ctrl *gomock.Controller) *MockHTTPDoer

NewMockHTTPDoer creates a new mock instance.

func (*MockHTTPDoer) Do

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

Do mocks base method.

func (*MockHTTPDoer) EXPECT

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

type MockHTTPDoerMockRecorder

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

MockHTTPDoerMockRecorder is the mock recorder for MockHTTPDoer.

func (*MockHTTPDoerMockRecorder) Do

func (mr *MockHTTPDoerMockRecorder) Do(req any) *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