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 ¶
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.
Click to show internal directories.
Click to hide internal directories.