mock

package
v1.10.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 4 Imported by: 0

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.

func (*MockIApi) OHLC

func (m *MockIApi) OHLC(ctx context.Context, symbol, interval string, arguments *binance.OHLCArgs) ([]binance.OHLC, error)

OHLC mocks base method.

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

type MockIApiOHLCCall struct {
	*gomock.Call
}

MockIApiOHLCCall wrap *gomock.Call

func (*MockIApiOHLCCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIApiOHLCCall) DoAndReturn added in v1.9.9

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

Jump to

Keyboard shortcuts

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