Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: interface.go
Generated by this command:
mockgen -source=interface.go -destination=mock/interface.go -package=mock -typed
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 IApiOHLCCall ¶
IApiOHLCCall wrap *gomock.Call
func (*IApiOHLCCall) Do ¶
func (c *IApiOHLCCall) Do(f func(context.Context, string, string, *binance.OHLCArgs) ([]binance.OHLC, error)) *IApiOHLCCall
Do rewrite *gomock.Call.Do
func (*IApiOHLCCall) DoAndReturn ¶
func (c *IApiOHLCCall) DoAndReturn(f func(context.Context, string, string, *binance.OHLCArgs) ([]binance.OHLC, error)) *IApiOHLCCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IApiOHLCCall) Return ¶
func (c *IApiOHLCCall) Return(candles []binance.OHLC, err error) *IApiOHLCCall
Return rewrite *gomock.Call.Return
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) *IApiOHLCCall
OHLC indicates an expected call of OHLC.
Click to show internal directories.
Click to hide internal directories.