mock

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 4 Imported by: 0

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

type IApiOHLCCall struct {
	*gomock.Call
}

IApiOHLCCall wrap *gomock.Call

func (*IApiOHLCCall) Do

Do rewrite *gomock.Call.Do

func (*IApiOHLCCall) DoAndReturn

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.

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) *IApiOHLCCall

OHLC indicates an expected call of OHLC.

Jump to

Keyboard shortcuts

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