exchanges

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package exchanges is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInexistantExchange = errors.New("inexistant exchange")
)

Functions

This section is empty.

Types

type MockPort

type MockPort struct {
	// contains filtered or unexported fields
}

MockPort is a mock of Port interface.

func NewMockPort

func NewMockPort(ctrl *gomock.Controller) *MockPort

NewMockPort creates a new mock instance.

func (*MockPort) EXPECT

func (m *MockPort) EXPECT() *MockPortMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPort) ListenSymbol

func (m *MockPort) ListenSymbol(ctx context.Context, sub event.TickSubscription) (chan tick.Tick, chan struct{}, error)

ListenSymbol mocks base method.

type MockPortMockRecorder

type MockPortMockRecorder struct {
	// contains filtered or unexported fields
}

MockPortMockRecorder is the mock recorder for MockPort.

func (*MockPortMockRecorder) ListenSymbol

func (mr *MockPortMockRecorder) ListenSymbol(ctx, sub interface{}) *gomock.Call

ListenSymbol indicates an expected call of ListenSymbol.

type Port

type Port interface {
	ListenSymbol(ctx context.Context, sub event.TickSubscription) (chan tick.Tick, chan struct{}, error)
}

Jump to

Keyboard shortcuts

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