mocks

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRestClient

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

MockRestClient is a mock of RestClient interface.

func NewMockRestClient

func NewMockRestClient(ctrl *gomock.Controller) *MockRestClient

NewMockRestClient creates a new mock instance.

func (*MockRestClient) DoGet

func (m *MockRestClient) DoGet(uri string, params map[string]string) (string, error)

DoGet mocks base method.

func (*MockRestClient) DoPost

func (m *MockRestClient) DoPost(uri, params string) (string, error)

DoPost mocks base method.

func (*MockRestClient) EXPECT

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

type MockRestClientMockRecorder

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

MockRestClientMockRecorder is the mock recorder for MockRestClient.

func (*MockRestClientMockRecorder) DoGet

func (mr *MockRestClientMockRecorder) DoGet(uri, params interface{}) *gomock.Call

DoGet indicates an expected call of DoGet.

func (*MockRestClientMockRecorder) DoPost

func (mr *MockRestClientMockRecorder) DoPost(uri, params interface{}) *gomock.Call

DoPost indicates an expected call of DoPost.

Jump to

Keyboard shortcuts

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