Documentation ¶
Overview ¶
Package mock_clients is a generated GoMock package.
Package mock_clients is a generated GoMock package.
Index ¶
- type MockExchangeClient
- type MockExchangeClientMockRecorder
- type MockMongoClient
- func (m *MockMongoClient) AddRateDocument(arg0 context.Context, arg1 *model.ExchangeRateDocument) error
- func (m *MockMongoClient) Disconnect(ctx context.Context) error
- func (m *MockMongoClient) EXPECT() *MockMongoClientMockRecorder
- func (m *MockMongoClient) GetLatestRateDocument(arg0 context.Context) (*model.ExchangeRateDocument, error)
- type MockMongoClientMockRecorder
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 ¶
func (m *MockExchangeClient) EXPECT() *MockExchangeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockExchangeClient) GetRates ¶
func (m *MockExchangeClient) GetRates(arg0 context.Context) (*model.ExchangeRatesModel, error)
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 ¶
func (m *MockMongoClient) EXPECT() *MockMongoClientMockRecorder
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