mock_clients

package
v0.0.0-...-749d40c Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_clients is a generated GoMock package.

Package mock_clients is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExchangeClient

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

MockExchangeClient is a mock of ExchangeClient interface

func NewMockExchangeClient

func NewMockExchangeClient(ctrl *gomock.Controller) *MockExchangeClient

NewMockExchangeClient creates a new mock instance

func (*MockExchangeClient) EXPECT

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

func (*MockExchangeClient) GetRates

GetRates mocks base method

type MockExchangeClientMockRecorder

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

MockExchangeClientMockRecorder is the mock recorder for MockExchangeClient

func (*MockExchangeClientMockRecorder) GetRates

func (mr *MockExchangeClientMockRecorder) GetRates(arg0 interface{}) *gomock.Call

GetRates indicates an expected call of GetRates

type MockMongoClient

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

MockMongoClient is a mock of LazyMongoClient interface

func NewMockMongoClient

func NewMockMongoClient(ctrl *gomock.Controller) *MockMongoClient

NewMockMongoClient creates a new mock instance

func (*MockMongoClient) AddRateDocument

func (m *MockMongoClient) AddRateDocument(arg0 context.Context, arg1 *model.ExchangeRateDocument) error

AddRateDocument mocks base method

func (*MockMongoClient) Disconnect

func (m *MockMongoClient) Disconnect(ctx context.Context) error

Disconnect mocks base method

func (*MockMongoClient) EXPECT

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

func (*MockMongoClient) GetLatestRateDocument

func (m *MockMongoClient) GetLatestRateDocument(arg0 context.Context) (*model.ExchangeRateDocument, error)

GetLatestRateDocument mocks base method

type MockMongoClientMockRecorder

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

MockMongoClientMockRecorder is the mock recorder for MockMongoClient

func (*MockMongoClientMockRecorder) AddRateDocument

func (mr *MockMongoClientMockRecorder) AddRateDocument(arg0, arg1 interface{}) *gomock.Call

AddRateDocument indicates an expected call of AddRateDocument

func (*MockMongoClientMockRecorder) Disconnect

func (mr *MockMongoClientMockRecorder) Disconnect(ctx interface{}) *gomock.Call

Disconnect indicates an expected call of Disconnect

func (*MockMongoClientMockRecorder) GetLatestRateDocument

func (mr *MockMongoClientMockRecorder) GetLatestRateDocument(arg0 interface{}) *gomock.Call

GetLatestRateDocument indicates an expected call of GetLatestRateDocument

Jump to

Keyboard shortcuts

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