mock_httpclient

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 2 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 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) EXPECT

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

func (*MockIHttpClient) Post

func (m *MockIHttpClient) Post(url, body string, headers map[string]string) ([]byte, error)

Post mocks base method.

type MockIHttpClientMockRecorder

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

MockIHttpClientMockRecorder is the mock recorder for MockIHttpClient.

func (*MockIHttpClientMockRecorder) Post

func (mr *MockIHttpClientMockRecorder) Post(url, body, headers any) *gomock.Call

Post indicates an expected call of Post.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳