mock_event_bus

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_event_bus is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) AddListener

func (m *MockInterface) AddListener(listener *event_bus.EventBusListener)

AddListener mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) PublishMessage

func (m *MockInterface) PublishMessage(eventMsg models.EventInterface) error

PublishMessage mocks base method.

func (*MockInterface) RemoveListener

func (m *MockInterface) RemoveListener(listener *event_bus.EventBusListener)

RemoveListener mocks base method.

func (*MockInterface) TotalListenersByRoom

func (m *MockInterface) TotalListenersByRoom(room string) int

TotalListenersByRoom mocks base method.

func (*MockInterface) TotalRooms

func (m *MockInterface) TotalRooms() int

TotalRooms mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) AddListener

func (mr *MockInterfaceMockRecorder) AddListener(listener interface{}) *gomock.Call

AddListener indicates an expected call of AddListener.

func (*MockInterfaceMockRecorder) PublishMessage

func (mr *MockInterfaceMockRecorder) PublishMessage(eventMsg interface{}) *gomock.Call

PublishMessage indicates an expected call of PublishMessage.

func (*MockInterfaceMockRecorder) RemoveListener

func (mr *MockInterfaceMockRecorder) RemoveListener(listener interface{}) *gomock.Call

RemoveListener indicates an expected call of RemoveListener.

func (*MockInterfaceMockRecorder) TotalListenersByRoom

func (mr *MockInterfaceMockRecorder) TotalListenersByRoom(room interface{}) *gomock.Call

TotalListenersByRoom indicates an expected call of TotalListenersByRoom.

func (*MockInterfaceMockRecorder) TotalRooms

func (mr *MockInterfaceMockRecorder) TotalRooms() *gomock.Call

TotalRooms indicates an expected call of TotalRooms.

Jump to

Keyboard shortcuts

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