mockclient

package
v0.0.0-...-32396ae Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mockclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMainAPI

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

MockMainAPI is a mock of MainAPI interface.

func NewMockMainAPI

func NewMockMainAPI(ctrl *gomock.Controller) *MockMainAPI

NewMockMainAPI creates a new mock instance.

func (*MockMainAPI) CloseGRPC

func (m *MockMainAPI) CloseGRPC() error

CloseGRPC mocks base method.

func (*MockMainAPI) EXPECT

func (m *MockMainAPI) EXPECT() *MockMainAPIMockRecorder

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

func (*MockMainAPI) ExchangeSum

func (m *MockMainAPI) ExchangeSum(ctx context.Context, input *model.Exchange) ([]float64, error)

ExchangeSum mocks base method.

func (*MockMainAPI) GetExchangeRates

func (m *MockMainAPI) GetExchangeRates(ctx context.Context) (*exchange_grpc.ExchangeRatesResponse, error)

GetExchangeRates mocks base method.

type MockMainAPIMockRecorder

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

MockMainAPIMockRecorder is the mock recorder for MockMainAPI.

func (*MockMainAPIMockRecorder) CloseGRPC

func (mr *MockMainAPIMockRecorder) CloseGRPC() *gomock.Call

CloseGRPC indicates an expected call of CloseGRPC.

func (*MockMainAPIMockRecorder) ExchangeSum

func (mr *MockMainAPIMockRecorder) ExchangeSum(ctx, input interface{}) *gomock.Call

ExchangeSum indicates an expected call of ExchangeSum.

func (*MockMainAPIMockRecorder) GetExchangeRates

func (mr *MockMainAPIMockRecorder) GetExchangeRates(ctx interface{}) *gomock.Call

GetExchangeRates indicates an expected call of GetExchangeRates.

Jump to

Keyboard shortcuts

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