mock_publishers

package
v0.0.0-...-fe50809 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_publishers is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOrderBookPublisher

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

MockOrderBookPublisher is a mock of OrderBookPublisher interface.

func NewMockOrderBookPublisher

func NewMockOrderBookPublisher(ctrl *gomock.Controller) *MockOrderBookPublisher

NewMockOrderBookPublisher creates a new mock instance.

func (*MockOrderBookPublisher) Close

func (m *MockOrderBookPublisher) Close()

Close mocks base method.

func (*MockOrderBookPublisher) EXPECT

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

func (*MockOrderBookPublisher) Publish

func (m *MockOrderBookPublisher) Publish(ctx context.Context, key string, orderBook models.OrderBook) error

Publish mocks base method.

type MockOrderBookPublisherMockRecorder

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

MockOrderBookPublisherMockRecorder is the mock recorder for MockOrderBookPublisher.

func (*MockOrderBookPublisherMockRecorder) Close

Close indicates an expected call of Close.

func (*MockOrderBookPublisherMockRecorder) Publish

func (mr *MockOrderBookPublisherMockRecorder) Publish(ctx, key, orderBook interface{}) *gomock.Call

Publish indicates an expected call of Publish.

Jump to

Keyboard shortcuts

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