mocks

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageClient

type MessageClient struct {
	mock.Mock
}

MessageClient is an autogenerated mock type for the MessageClient type

func (*MessageClient) Connect

func (_m *MessageClient) Connect() error

Connect provides a mock function with given fields:

func (*MessageClient) Disconnect

func (_m *MessageClient) Disconnect() error

Disconnect provides a mock function with given fields:

func (*MessageClient) Publish

func (_m *MessageClient) Publish(message types.MessageEnvelope, topic string) error

Publish provides a mock function with given fields: message, topic

func (*MessageClient) Subscribe

func (_m *MessageClient) Subscribe(topics []types.TopicChannel, messageErrors chan error) error

Subscribe provides a mock function with given fields: topics, messageErrors

Jump to

Keyboard shortcuts

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