Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIApi ¶
type MockIApi struct {
// contains filtered or unexported fields
}
MockIApi is a mock of IApi interface.
func NewMockIApi ¶
func NewMockIApi(ctrl *gomock.Controller) *MockIApi
NewMockIApi creates a new mock instance.
func (*MockIApi) EXPECT ¶
func (m *MockIApi) EXPECT() *MockIApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIApiMockRecorder ¶
type MockIApiMockRecorder struct {
// contains filtered or unexported fields
}
MockIApiMockRecorder is the mock recorder for MockIApi.
func (*MockIApiMockRecorder) OHLC ¶
func (mr *MockIApiMockRecorder) OHLC(ctx, symbol, interval, arguments any) *MockIApiOHLCCall
OHLC indicates an expected call of OHLC.
type MockIApiOHLCCall ¶ added in v1.9.9
MockIApiOHLCCall wrap *gomock.Call
func (*MockIApiOHLCCall) Do ¶ added in v1.9.9
func (c *MockIApiOHLCCall) Do(f func(context.Context, string, string, *binance.OHLCArgs) ([]binance.OHLC, error)) *MockIApiOHLCCall
Do rewrite *gomock.Call.Do
func (*MockIApiOHLCCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIApiOHLCCall) DoAndReturn(f func(context.Context, string, string, *binance.OHLCArgs) ([]binance.OHLC, error)) *MockIApiOHLCCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIApiOHLCCall) Return ¶ added in v1.9.9
func (c *MockIApiOHLCCall) Return(candles []binance.OHLC, err error) *MockIApiOHLCCall
Return rewrite *gomock.Call.Return
Click to show internal directories.
Click to hide internal directories.